]> git.karo-electronics.de Git - linux-beck.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)
commitf16f1df65f1cf139ff9e9f84661e6573d6bb27fc
tree6f3d46c2653ace73426558feacde02c97c7adbeb
parent9a6cdf52b85ea5fb21d2bb31e4a7bc61b79923a7
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