Re: [PATCH] pppoe: remove redundant BUG_ON() check in pppoe_pernet

From: David Miller
Date: Sat Dec 07 2019 - 14:52:42 EST


From: Aditya Pakki <pakki001@xxxxxxx>
Date: Thu, 5 Dec 2019 17:04:49 -0600

> Passing NULL to pppoe_pernet causes a crash via BUG_ON.
> Dereferencing net in net_generici() also has the same effect. This patch
> removes the redundant BUG_ON check on the same parameter.
>
> Signed-off-by: Aditya Pakki <pakki001@xxxxxxx>

Applied.