RE: [PATCH v2 net] hv_sock: Fix hang when a connection is closed

2019-08-02 Thread Dexuan Cui
> From: linux-hyperv-ow...@vger.kernel.org > Sent: Friday, August 2, 2019 5:27 PM > ... > Applied and queued up for -stable. > > Do not ever CC: stable for networking patches, we submit to -stable manually. Thanks, David! I'll remember to not add the stable tag for network patches. Thanks, --

Re: [PATCH v2 net] hv_sock: Fix hang when a connection is closed

2019-08-02 Thread David Miller
From: Dexuan Cui Date: Wed, 31 Jul 2019 01:25:45 + > > There is a race condition for an established connection that is being closed > by the guest: the refcnt is 4 at the end of hvs_release() (Note: here the > 'remove_sock' is false): > > 1 for the initial value; > 1 for the sk being in

RE: [PATCH v2 net] hv_sock: Fix hang when a connection is closed

2019-07-31 Thread Sunil Muthuswamy
er.kernel.org; linux- > ker...@vger.kernel.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com; vkuznets ; > marcelo.ce...@canonical.com > Subject: [PATCH v2 net] hv_sock: Fix hang when a connection is closed > > > There is a race condition for an establishe

[PATCH v2 net] hv_sock: Fix hang when a connection is closed

2019-07-30 Thread Dexuan Cui
There is a race condition for an established connection that is being closed by the guest: the refcnt is 4 at the end of hvs_release() (Note: here the 'remove_sock' is false): 1 for the initial value; 1 for the sk being in the bound list; 1 for the sk being in the connected list; 1 for the