summaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-10 06:48:36 +0100
committerDavid S. Miller <davem@davemloft.net>2011-02-10 07:36:13 +0100
commit96642d42f076101ba98866363d908cab706d156c (patch)
tree07043558ca37f51e072cf32c0a3a7db05dd91ce7 /drivers/net/virtio_net.c
parentpch_can: fix tseg1/tseg2 setting issue (diff)
downloadlinux-96642d42f076101ba98866363d908cab706d156c.tar.xz
linux-96642d42f076101ba98866363d908cab706d156c.zip
x25: Do not reference freed memory.
In x25_link_free(), we destroy 'nb' before dereferencing 'nb->dev'. Don't do this, because 'nb' might be freed by then. Reported-by: Randy Dunlap <randy.dunlap@oracle.com> Tested-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions