linux/drivers/staging/slicoss
David Matlack dedabbbcb5 staging: slicoss: fix use-after-free bug in slic_entry_remove
This patch fixes a use-after-free bug that causes a null pointer
dereference in slic_entry_halt.

Since unregister_netdev() will ultimately call slic_entry_halt (the
net_device ndo_stop() virtual function for this device), we should
call it before freeing the memory used by slic_entry_halt.

Signed-off-by: David Matlack <dmatlack@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-23 20:08:34 +09:00
..
Kconfig
Makefile
README staging: slicoss: Add MAINTAINERS entry, break README into TODO & README 2014-02-11 12:37:27 -08:00
slic.h staging: slicoss: remove gratuitous debug infrastructure 2014-05-23 20:08:33 +09:00
slichw.h staging: slicoss: Fix space-related checkpatch.pl warnings 2013-01-17 13:53:06 -08:00
slicoss.c staging: slicoss: fix use-after-free bug in slic_entry_remove 2014-05-23 20:08:34 +09:00
TODO staging: slicoss: remove gratuitous debug infrastructure 2014-05-23 20:08:33 +09:00

This driver is supposed to support:

	Mojave cards (single port PCI Gigabit) both copper and fiber
	Oasis cards (single and dual port PCI-x Gigabit) copper and fiber
	Kalahari cards (dual and quad port PCI-e Gigabit) copper and fiber

The driver was actually tested on Oasis and Kalahari cards.