]> 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)
commit07cf4a546f49cc20974a1866ac0e5f61d2cfe156
tree1afa3b07aa5e8ef07d5753fd9ee8c5290357c382
parenta36222efc045197c280bf1bb6aa708e0e9dc9ea4
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