diff options
author | Xu Wang <vulab@iscas.ac.cn> | 2019-12-24 09:37:04 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-27 16:30:52 -0800 |
commit | 8a3f44a0bb76c4e69dea3ad398ada41ae4ffc3ea (patch) | |
tree | 744ec5da59f3298bf25b46245e42ea4e92b81133 /drivers/net/ppp/Makefile | |
parent | Merge branch 'tcp_cubic-various-fixes' (diff) | |
download | linux-dev-8a3f44a0bb76c4e69dea3ad398ada41ae4ffc3ea.tar.xz linux-dev-8a3f44a0bb76c4e69dea3ad398ada41ae4ffc3ea.zip |
ppp: Remove redundant BUG_ON() check in ppp_pernet
Passing NULL to ppp_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 'drivers/net/ppp/Makefile')
0 files changed, 0 insertions, 0 deletions