]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netback: remove 'hotplug-status' once it has served its purpose
authorPaul Durrant <pdurrant@amazon.com>
Tue, 17 Dec 2019 13:32:18 +0000 (13:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2019 07:03:33 +0000 (23:03 -0800)
commitaf6e0faac217874f6161e2cbd5bfacf97d39eacb
treea1fd76dfe0ab276b3f3a84361cea900eda27515e
parent57b3f0359bddef8dc5f62f385b084c004f4ec2e4
xen-netback: remove 'hotplug-status' once it has served its purpose

Removing the 'hotplug-status' node in netback_remove() is wrong; the script
may not have completed. Only remove the node once the watch has fired and
has been unregistered.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Acked-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/xenbus.c