kernel-ark/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_microcode.h
3c359.c
3c359.h
abyss.c
abyss.h
ibmtr.c
Kconfig
lanstreamer.c
lanstreamer.h
madgemc.c
madgemc.h
Makefile
olympic.c
olympic.h
proteon.c
skisa.c
smctr_firmware.h
smctr.c
smctr.h
tms380tr.c
tms380tr.h
tmspci.c