linux/drivers/net/can/sja1000
Stephane Grosjean 0b5a958cf4 can: peak_pci: prevent use after free at netdev removal
As remarked by Christopher R. Baker in his post at

http://marc.info/?l=linux-can&m=139707295706465&w=2

there's a possibility for an use after free condition at device removal.

This simplified patch introduces an additional variable to prevent the issue.
Thanks for catching this.

Cc: linux-stable <stable@vger.kernel.org>
Reported-by: Christopher R. Baker <cbaker@rec.ri.cmu.edu>
Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2014-05-21 08:17:03 +02:00
..
ems_pci.c
ems_pcmcia.c
Kconfig Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP 2014-04-07 16:36:11 -07:00
kvaser_pci.c
Makefile
peak_pci.c can: peak_pci: prevent use after free at netdev removal 2014-05-21 08:17:03 +02:00
peak_pcmcia.c
plx_pci.c
sja1000_isa.c can: sja1000_isa: add locking for indirect register access mode 2014-04-24 22:22:53 +02:00
sja1000_platform.c
sja1000.c
sja1000.h
tscan1.c