OpenCloudOS-Kernel/drivers/net/ethernet/rocker
Kangjie Lu 5c149314d9 net: rocker: fix a potential NULL pointer dereference
In case kzalloc fails, the fix releases resources and returns
NOTIFY_BAD to avoid NULL pointer dereference.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-03-11 16:17:31 -07:00
..
Kconfig net: ethernet: rocker: Add dependency to CONFIG_BRIDGE in Kconfig 2014-12-09 15:26:43 -05:00
Makefile rocker: introduce worlds infrastructure 2016-02-17 23:08:34 -05:00
rocker.h rocker: Remove getting PORT_BRIDGE_FLAGS 2019-02-12 12:49:53 -05:00
rocker_hw.h rocker: rename rocker.h to rocker_hw.h 2016-02-17 23:08:34 -05:00
rocker_main.c net: rocker: fix a potential NULL pointer dereference 2019-03-11 16:17:31 -07:00
rocker_ofdpa.c rocker: Remove port_attr_bridge_flags_get assignment 2019-02-12 13:53:28 -08:00
rocker_tlv.c rocker: push tlv processing into separate files 2016-02-17 23:08:34 -05:00
rocker_tlv.h rocker: fix rocker_tlv_put_* functions for KASAN 2017-09-25 20:18:27 -07:00