summaryrefslogtreecommitdiffstats
path: root/drivers/net/pci-skeleton.c
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2007-06-11 20:17:02 +0200
committerJeff Garzik <jeff@garzik.org>2007-06-21 01:09:32 +0200
commit83d35145c443d8394aaf1743301e79fa0a8054d7 (patch)
tree4a4fe97485e1690eb43212cb3afda93acc5edc62 /drivers/net/pci-skeleton.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/iee... (diff)
downloadlinux-83d35145c443d8394aaf1743301e79fa0a8054d7.tar.xz
linux-83d35145c443d8394aaf1743301e79fa0a8054d7.zip
spidernet: null out skb pointer after its been used.
Avoid kernel crash in mm/slab.c due to double-free of pointer. If the ethernet interface is brought down while there is still RX traffic in flight, the device shutdown routine can end up trying to double-free an skb, leading to a crash in mm/slab.c Avoid the double-free by nulling out the skb pointer. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/pci-skeleton.c')
0 files changed, 0 insertions, 0 deletions