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

2015-07-20 Thread KY Srinivasan
kuzn...@redhat.com > Subject: RE: [PATCH net-next 1/1] hv_netvsc: Wait for sub-channels to be > processed during probe > > > From: KY Srinivasan > > Sent: Friday, July 17, 2015 23:33 > > > From: Dexuan Cui > > > Sent: Friday, July 17, 2015 3:01 AM > > >

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

2015-07-20 Thread Dexuan Cui
> From: KY Srinivasan > Sent: Friday, July 17, 2015 23:33 > > From: Dexuan Cui > > Sent: Friday, July 17, 2015 3:01 AM > > > From: K. Y. Srinivasan > > > Sent: Friday, July 17, 2015 3:17 > > > Subject: [PATCH net-next 1/1] hv_netvsc: Wait for sub-ch

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

2015-07-17 Thread KY Srinivasan
t; a...@canonical.com; jasow...@redhat.com; Dexuan Cui > Subject: Re: [PATCH net-next 1/1] hv_netvsc: Wait for sub-channels to be > processed during probe > > KY Srinivasan writes: > > >> -Original Message- > >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat

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

2015-07-17 Thread Vitaly Kuznetsov
org; de...@linuxdriverproject.org; o...@aepfle.de; >> a...@canonical.com; jasow...@redhat.com; Dexuan Cui >> Subject: Re: [PATCH net-next 1/1] hv_netvsc: Wait for sub-channels to be >> processed during probe >> >> "K. Y. Srinivasan" writes: >> >>

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

2015-07-17 Thread KY Srinivasan
t; a...@canonical.com; jasow...@redhat.com; Dexuan Cui > Subject: Re: [PATCH net-next 1/1] hv_netvsc: Wait for sub-channels to be > processed during probe > > "K. Y. Srinivasan" writes: > > > The current code returns from probe without waiting for the proper > ha

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

2015-07-17 Thread KY Srinivasan
kuzn...@redhat.com > Cc: KY Srinivasan > Subject: RE: [PATCH net-next 1/1] hv_netvsc: Wait for sub-channels to be > processed during probe > > > From: K. Y. Srinivasan > > Sent: Friday, July 17, 2015 3:17 > > Subject: [PATCH net-next 1/1] hv_netvsc: Wait for sub-channel

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

2015-07-17 Thread KY Srinivasan
kuzn...@redhat.com > Cc: KY Srinivasan > Subject: RE: [PATCH net-next 1/1] hv_netvsc: Wait for sub-channels to be > processed during probe > > > From: K. Y. Srinivasan > > Sent: Friday, July 17, 2015 3:17 > > Subject: [PATCH net-next 1/1] hv_netvsc: Wait for sub-chan

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

2015-07-17 Thread Vitaly Kuznetsov
"K. Y. Srinivasan" writes: > 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 ful

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

2015-07-17 Thread Dexuan Cui
> From: K. Y. Srinivasan > Sent: Friday, July 17, 2015 3:17 > Subject: [PATCH net-next 1/1] hv_netvsc: Wait for sub-channels to be processed > during probe > > The current code returns from probe without waiting for the proper handling > of subchannels that may be requested.

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

2015-07-17 Thread Dexuan Cui
> From: K. Y. Srinivasan > Sent: Friday, July 17, 2015 3:17 > Subject: [PATCH net-next 1/1] hv_netvsc: Wait for sub-channels to be processed > during probe > diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h > ... > @@ -1116,6 +1127,9 @@ int rn

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

2015-07-16 Thread K. Y. Srinivasan
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 ma