aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorXu Wang <vulab@iscas.ac.cn>2020-01-03 09:28:16 +0000
committerDavid S. Miller <davem@davemloft.net>2020-01-03 12:26:07 -0800
commitd2e9d229cfbd73baf33a817a0212233cea7df59a (patch)
treed1acf8d2e2890e6efc6c34af76193fc502341bab /include/net
parentnet: Remove redundant BUG_ON() check in phonet_pernet (diff)
downloadlinux-dev-d2e9d229cfbd73baf33a817a0212233cea7df59a.tar.xz
linux-dev-d2e9d229cfbd73baf33a817a0212233cea7df59a.zip
l2tp: Remove redundant BUG_ON() check in l2tp_pernet
Passing NULL to l2tp_pernet causes a crash via BUG_ON. Dereferencing net in net_generic() also has the same effect. This patch removes the redundant BUG_ON check on the same parameter. Signed-off-by: Xu Wang <vulab@iscas.ac.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions