Revision 02a896ca84874bbfcedc006303f2951dda89b298 authored by Aditya Pakki on 05 December 2019, 23:04:49 UTC, committed by David S. Miller on 07 December 2019, 19:52:23 UTC
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: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 5532946
History
File Mode Size
unittest-data
Kconfig -rw-r--r-- 2.3 KB
Makefile -rw-r--r-- 659 bytes
address.c -rw-r--r-- 24.7 KB
base.c -rw-r--r-- 59.7 KB
device.c -rw-r--r-- 8.2 KB
dynamic.c -rw-r--r-- 22.6 KB
fdt.c -rw-r--r-- 31.6 KB
fdt_address.c -rw-r--r-- 6.2 KB
irq.c -rw-r--r-- 18.6 KB
kobj.c -rw-r--r-- 3.8 KB
of_mdio.c -rw-r--r-- 13.4 KB
of_net.c -rw-r--r-- 3.4 KB
of_numa.c -rw-r--r-- 3.9 KB
of_private.h -rw-r--r-- 5.4 KB
of_reserved_mem.c -rw-r--r-- 10.3 KB
overlay.c -rw-r--r-- 34.2 KB
pdt.c -rw-r--r-- 4.8 KB
platform.c -rw-r--r-- 20.0 KB
property.c -rw-r--r-- 38.7 KB
resolver.c -rw-r--r-- 8.6 KB
unittest.c -rw-r--r-- 68.9 KB

back to top