From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] VSOCK: fix outdated sk_state value in hvs_release() Date: Tue, 05 Dec 2017 15:07:56 -0500 (EST) Message-ID: <20171205.150756.45385753427726937.davem@davemloft.net> References: <20171205113114.3377-1-stefanha@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, jhansen@vmware.com, decui@microsoft.com, cavery@redhat.com To: stefanha@redhat.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:39794 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751288AbdLEUH5 (ORCPT ); Tue, 5 Dec 2017 15:07:57 -0500 In-Reply-To: <20171205113114.3377-1-stefanha@redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Stefan Hajnoczi Date: Tue, 5 Dec 2017 11:31:14 +0000 > Since commit 3b4477d2dcf2709d0be89e2a8dced3d0f4a017f2 ("VSOCK: use TCP > state constants for sk_state") VSOCK has used TCP_* constants for > sk_state. > > Commit b4562ca7925a3bedada87a3dd072dd5bad043288 ("hv_sock: add locking > in the open/close/release code paths") reintroduced the SS_DISCONNECTING > constant. > > This patch replaces the old SS_DISCONNECTING with the new TCP_CLOSING > constant. > > CC: Dexuan Cui > CC: Cathy Avery > Signed-off-by: Stefan Hajnoczi Applied.