acrn-kernel/net/phonet
Xu Wang 1f62343110 net: Remove redundant BUG_ON() check in phonet_pernet
Passing NULL to phonet_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>
2020-01-03 12:25:50 -08:00
..
Kconfig
Makefile
af_phonet.c
datagram.c
pep-gprs.c
pep.c
pn_dev.c net: Remove redundant BUG_ON() check in phonet_pernet 2020-01-03 12:25:50 -08:00
pn_netlink.c
socket.c
sysctl.c