aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDavid Vrabel <[email protected]>2015-05-27 14:46:10 +0000
committerDavid S. Miller <[email protected]>2015-05-27 18:02:28 +0000
commitad0681185770716523c81b156c44b9804d7b8ed2 (patch)
treef2519cc3625d8d327a5e4eb8e7ca15ed4fd83274 /net/unix/af_unix.c
parentmlx4_core: Fix fallback from MSI-X to INTx (diff)
downloadkernel-ad0681185770716523c81b156c44b9804d7b8ed2.tar.gz
kernel-ad0681185770716523c81b156c44b9804d7b8ed2.zip
xen-netfront: properly destroy queues when removing device
xennet_remove() freed the queues before freeing the netdevice which results in a use-after-free when free_netdev() tries to delete the napi instances that have already been freed. Fix this by fully destroy the queues (which includes deleting the napi instances) before freeing the netdevice. Signed-off-by: David Vrabel <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions