[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160323.215359.2223338100817131307.davem@davemloft.net>
Date: Wed, 23 Mar 2016 21:53:59 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: haiyangz@...rosoft.com
Cc: netdev@...r.kernel.org, kys@...rosoft.com, olaf@...fle.de,
vkuznets@...hat.com, linux-kernel@...r.kernel.org,
driverdev-devel@...uxdriverproject.org
Subject: Re: [PATCH net-next] hv_netvsc: Fix the order of num_sc_offered
decrement
From: Haiyang Zhang <haiyangz@...rosoft.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@...rosoft.com>
> Reviewed-by: K. Y. Srinivasan <kys@...rosoft.com>
Applied, thanks.
Powered by blists - more mailing lists