![]() __netdev_alloc_skb() return NULl when it fails. skb_put() further uses it even when the allocation fails, leading to NULL pointer dereference. The fix inserts a check for the return value of __netdev_alloc_skb(). Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Makefile | ||
def.h | ||
fw.c | ||
fw.h | ||
hw.c | ||
hw.h | ||
led.c | ||
led.h | ||
phy.c | ||
phy.h | ||
reg.h | ||
sw.c | ||
sw.h | ||
trx.c | ||
trx.h |