[PATCH V2 net-next 1/1] hv_netvsc: Wait for sub-channels to be processed during probe

David Miller davem at davemloft.net
Sun Jul 26 23:40:54 UTC 2015


From: "K. Y. Srinivasan" <kys at microsoft.com>
Date: Wed, 22 Jul 2015 11:42:32 -0700

> The current code returns from probe without waiting for the proper handling
> of subchannels that may be requested. If the netvsc driver were to be rapidly
> loaded/unloaded, we can  trigger a panic as the unload will be tearing
> down state that may not have been fully setup yet. We fix this issue by making
> sure that we return from the probe call only after ensuring that the
> sub-channel offers in flight are properly handled.
> 
> Reviewed-and-tested-by: Haiyang Zhang <haiyangz at microsoft.com
> Signed-off-by: K. Y. Srinivasan <kys at microsoft.com>

Applied, thanks.


More information about the devel mailing list