]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netback: protect resource cleaning on XenBus disconnect
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Tue, 17 Jan 2017 20:49:38 +0000 (20:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jan 2017 20:11:20 +0000 (15:11 -0500)
commitadd88cd0b457cafd2c8c93f1f730859774a0a313
tree6f3d46c2653ace73426558feacde02c97c7adbeb
parentee875a71a1a8d5d7632314cfb587d03ebd33be08
xen-netback: protect resource cleaning on XenBus disconnect

vif->lock is used to protect statistics gathering agents from using the
queue structure during cleaning.

Signed-off-by: Igor Druzhinin <igor.druzhinin@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>
drivers/net/xen-netback/interface.c
drivers/net/xen-netback/xenbus.c