linux/drivers/net/xen-netback
David Vrabel dc62ccaccf xen-netback: transition to CLOSED when removing a VIF
If a guest is destroyed without transitioning its frontend to CLOSED,
the domain becomes a zombie as netback was not grant unmapping the
shared rings.

When removing a VIF, transition the backend to CLOSED so the VIF is
disconnected if necessary (which will unmap the shared rings etc).

This fixes a regression introduced by
279f438e36 (xen-netback: Don't destroy
the netdev until the vif is shut down).

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Cc: Paul Durrant <Paul.Durrant@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by:  Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-08 16:15:51 -04:00
..
Makefile
common.h xen-netback: Don't destroy the netdev until the vif is shut down 2013-09-19 14:03:51 -04:00
interface.c xen-netback: Don't destroy the netdev until the vif is shut down 2013-09-19 14:03:51 -04:00
netback.c xen-netback: count number required slots for an skb more carefully 2013-09-12 23:22:13 -04:00
xenbus.c xen-netback: transition to CLOSED when removing a VIF 2013-10-08 16:15:51 -04:00