aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_device.c
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2016-01-15 14:55:36 +0000
committerDavid S. Miller <davem@davemloft.net>2016-01-15 15:13:19 -0500
commit9c6f3ffe8200327d1cf2aad2ff2b414adaacbe96 (patch)
tree8240a079a4eb513a9d71565a3051526d71329dda /net/bridge/br_device.c
parentxen-netback: delete NAPI instance when queue fails to initialize (diff)
downloadlinux-dev-9c6f3ffe8200327d1cf2aad2ff2b414adaacbe96.tar.xz
linux-dev-9c6f3ffe8200327d1cf2aad2ff2b414adaacbe96.zip
xen-netback: free queues after freeing the net device
If a queue still has a NAPI instance added to the net device, freeing the queues early results in a use-after-free. The shouldn't ever happen because we disconnect and tear down all queues before freeing the net device, but doing this makes it obviously safe. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_device.c')
0 files changed, 0 insertions, 0 deletions