linux/drivers/net/xen-netback
David Vrabel 9c6f3ffe82 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>
2016-01-15 15:13:19 -05:00
..
common.h net/xen-netback: Make it running on 64KB page granularity 2015-10-23 14:20:41 +01:00
interface.c xen-netback: free queues after freeing the net device 2016-01-15 15:13:19 -05:00
Makefile
netback.c xen-netback: use skb to determine number of required guest Rx requests 2016-01-15 15:13:18 -05:00
xenbus.c xen-netback: correctly check failed allocation 2015-10-18 19:37:29 -07:00