Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1363865
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next] hv_netvsc: Fix the order of num_sc_offered decrement |
| Date | 2016-03-24 03:00 +0100 |
| Message-ID | <rg2J4-3GP-1@gated-at.bofh.it> (permalink) |
| References | <rfXq2-b9-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Haiyang Zhang <haiyangz@microsoft.com> Date: Wed, 23 Mar 2016 14:54:48 -0700 > Reorder the code in netvsc_sc_open(), so num_sc_offered is only decremented > after vmbus_open() is called. This avoid pontential race of removing device > before all channels are setup. > > Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> > Reviewed-by: K. Y. Srinivasan <kys@microsoft.com> Applied, thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next] hv_netvsc: Fix the order of num_sc_offered decrement Haiyang Zhang <haiyangz@microsoft.com> - 2016-03-23 21:20 +0100 Re: [PATCH net-next] hv_netvsc: Fix the order of num_sc_offered decrement David Miller <davem@davemloft.net> - 2016-03-24 03:00 +0100
csiph-web