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

From: David Miller
Date: Sun Jul 26 2015 - 19:41:00 EST


From: "K. Y. Srinivasan" <kys@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxx
> Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/