Thread (3 messages) 3 messages, 3 authors, 2019-12-28

Re: [PATCH] ppp: Remove redundant BUG_ON() check in ppp_pernet

From: Sergei Shtylyov <hidden>
Date: 2019-12-24 11:42:26
Also in: lkml

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 <redacted>
[...]

MBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help