summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2015-05-27 17:46:10 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-27 21:02:28 +0300
commitad0681185770716523c81b156c44b9804d7b8ed2 (patch)
treef2519cc3625d8d327a5e4eb8e7ca15ed4fd83274 /net
parentf4ecf29fd78d19a9301e638eaa1419e5c8fbdce1 (diff)
downloadlinux-ad0681185770716523c81b156c44b9804d7b8ed2.tar.xz
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 <david.vrabel@citrix.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions