Skip to content
Commit 02a896ca authored by Aditya Pakki's avatar Aditya Pakki Committed by David S. Miller
Browse files

pppoe: remove redundant BUG_ON() check in pppoe_pernet



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: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5532946e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment