aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorJesper Juhl <jesper.juhl@gmail.com>2007-09-28 22:42:09 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:53:51 -0700
commitbcfef8c3681fa59b653871682956a8fdf5c27c5a (patch)
tree7fa3c9df43063f00474c1ca00066728cd3136c6a /drivers/net/skge.h
parentdrivers/net/cxgb3/xgmac.c: remove dead code (diff)
downloadlinux-dev-bcfef8c3681fa59b653871682956a8fdf5c27c5a.tar.xz
linux-dev-bcfef8c3681fa59b653871682956a8fdf5c27c5a.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions