Re: [PATCH] xen-netfront: wait xenbus state change when load module manually

From: David Miller
Date: Mon Jul 30 2018 - 12:41:09 EST


From: Xiao Liang <xiliang@xxxxxxxxxx>
Date: Fri, 27 Jul 2018 17:56:08 +0800

> When loading module manually, after call xenbus_switch_state to initializes
> the state of the netfront device, the driver state did not change so fast
> that may lead no dev created in latest kernel. This patch adds wait to make
> sure xenbus knows the driver is not in closed/unknown state.
...
> Signed-off-by: Xiao Liang <xiliang@xxxxxxxxxx>

Applied and queued up for -stable, thanks.