linux_dsm_epyc7002/drivers/net/caif
Rasmus Villemoes cfb76d77c0 net: caif: check return value of alloc_netdev
I don't know if dev can actually be NULL here, but the test should be
above alloc_netdev(), to avoid leaking the struct net_device in case
dev is actually NULL. And of course the return value from alloc_netdev
should be tested.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-09 11:31:13 -05:00
..
caif_hsi.c net: caif: convert to using IFF_NO_QUEUE 2015-08-18 11:55:07 -07:00
caif_serial.c net: caif: convert to using IFF_NO_QUEUE 2015-08-18 11:55:07 -07:00
caif_spi_slave.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
caif_spi.c net: caif: check return value of alloc_netdev 2015-11-09 11:31:13 -05:00
caif_virtio.c caif: Fix napi poll list corruption 2014-12-22 16:34:39 -05:00
Kconfig
Makefile