]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite73646305bfdc597e475aa0346b08b50b3152354
tree1afa3b07aa5e8ef07d5753fd9ee8c5290357c382
parente49f02fdc0254111ca94969886872c3ad38eed80
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