Re: [PATCH] ppp: Remove redundant BUG_ON() check in ppp_pernet
From: Sergei Shtylyov
Date: Tue Dec 24 2019 - 06:42:26 EST
Hello!
On 12/24/2019 12:37 PM, Xu Wang wrote:
> Passing NULL to ppp_pernet causes a crash via BUG_ON.
> Dereferencing net in net_generici() also has the same effect.
s/generici/generic/. :-)
> This patch removes the redundant BUG_ON check on the same parameter.
>
> Signed-off-by: Xu Wang <vulab@xxxxxxxxxxx>
[...]
MBR, Sergei