OpenCloudOS-Kernel/drivers/net/tokenring
Jesper Juhl bcfef8c368 Avoid possible NULL pointer deref in 3c359 driver
In xl_freemem(), if dev_if is NULL, the line

  struct xl_private *xl_priv =(struct xl_private *)dev->priv;

will cause a NULL pointer dereference.

(akpm: don't try to fix it: just delete the pointless test-for-null)

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-10-10 16:53:51 -07:00
..
3c359.c Avoid possible NULL pointer deref in 3c359 driver 2007-10-10 16:53:51 -07:00
3c359.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c359_microcode.h [PATCH] drivers/net/tokenring/: cleanups 2005-06-26 18:29:26 -04:00
Kconfig [TR]: Use menuconfig objects. 2007-05-24 16:36:52 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
abyss.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
abyss.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmtr.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
lanstreamer.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
lanstreamer.h [PATCH] drivers/net/tokenring/lanstreamer.h Removal of old code 2006-09-25 20:01:19 -04:00
madgemc.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
madgemc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
olympic.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
olympic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
proteon.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
skisa.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
smctr.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
smctr.h [PATCH] smctr warning fix 2006-02-17 16:16:21 -05:00
smctr_firmware.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tms380tr.c tms380tr: trivial endianness annotations 2007-10-10 16:52:05 -07:00
tms380tr.h tms380tr: trivial endianness annotations 2007-10-10 16:52:05 -07:00
tmspci.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00