]> 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)
commitee7e4850fad992f63d3bf3bb6430ead93a009cd8
treea1fd76dfe0ab276b3f3a84361cea900eda27515e
parent518716323f228e846b2f28cbc6be86e234f5a2e9
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