xen-netback: stop the VIF thread before unbinding IRQs
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 21 Nov 2013 15:26:09 +0000 (15:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Nov 2013 18:09:43 +0000 (13:09 -0500)
commitdb739ef37f07a1a12e388dbaec225d9d9d5d6ded
tree1afa3b07aa5e8ef07d5753fd9ee8c5290357c382
parentaec6f90d412fe30b88fdea3d1880734c837e15d4
xen-netback: stop the VIF thread before unbinding IRQs

If the VIF thread is still running after unbinding the Tx and Rx IRQs
in xenvif_disconnect(), the thread may attempt to raise an event which
will BUG (as the irq is unbound).

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/interface.c