Received: by 10.223.164.202 with SMTP id h10csp2866142wrb; Tue, 28 Nov 2017 02:37:19 -0800 (PST) X-Google-Smtp-Source: AGs4zMb+rL8eXj7hM9CuPdrGO/J0+qhVOC5lD2roVubRPRs4BBoGdirr/6c0SV5j5R6fWTuSWXUy X-Received: by 10.159.247.22 with SMTP id d22mr25118454pls.284.1511865439018; Tue, 28 Nov 2017 02:37:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511865438; cv=none; d=google.com; s=arc-20160816; b=w9NjPafFb1nbhjCKynpUv/YHfAihPUCuK2meC8tT64r5I6xTh9ir4+GOu+W8dkU2Fb R/p5kuugTgdmL8wROZDwlx+/kt42V4HkNO3X5oXyP3n1alvQy6Iq/eafQ/6b7y89ouqz IBzsa/hflrANXcdrXiSZMnYVmhBBEZNs7uGcOXrwfhhVIHCLw5pIqmbqTCtRthZoiq23 VANaA5KVIAKKuApMpaVF2wrAiIO3W0P3j8KY4IlgmC7at7c7ckvuuQZhGtnCg91Pia2w XT7fYHUbXfyWmBB80khOflSd4IxbPxwh79oRpBl3IAEGA1TGb6AXj1e7h1M64Cd/LIYU AJww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=NlojRETXtOBjLlh/utY1+kfpF0hKzaCY1ZYakqip2yA=; b=WMhxLHI7Daw9h07upmxTkPlpFAH4ZvF4TobouR6IhL9noD0eREpIKXdWb2LErnO51w eLUJ8znd3BTddC6iQfGEs8vZ16qu+fBTG2rBpufDyr5571rPNEw77XiTG4s6SIk95HxR lJ9yo0IUwAR2NPgbPxGowQIuKu6Fa5tFWP1bFtYF0H9FY8M9UUiUUKSqJh2fegNsEq7o 3ERQ0xPyiwWwrtLZbRdrbNQTHiNhw9COkbiTblhjRSOvCMMtMLt+HtT5ZHEseI+ljWEv j7c8fA9It4lN45jUnBorxP7hXUHJy0uu8v9/XYdcgdQxPXCncoGJ5KUjoYE401C/2pF3 3qdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l12si24829996plc.265.2017.11.28.02.37.07; Tue, 28 Nov 2017 02:37:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932385AbdK1Kfu (ORCPT + 79 others); Tue, 28 Nov 2017 05:35:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44060 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932349AbdK1Kfo (ORCPT ); Tue, 28 Nov 2017 05:35:44 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A193BC047B66; Tue, 28 Nov 2017 10:35:44 +0000 (UTC) Received: from localhost (unknown [10.36.118.43]) by smtp.corp.redhat.com (Postfix) with ESMTP id EEE125D753; Tue, 28 Nov 2017 10:35:43 +0000 (UTC) Date: Tue, 28 Nov 2017 10:35:42 +0000 From: Stefan Hajnoczi To: Jorgen Hansen Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, gregkh@linuxfoundation.org, davem@davemloft.net, pv-drivers@vmware.com Subject: Re: [PATCH] VSOCK: Don't set sk_state to TCP_CLOSE before testing it Message-ID: <20171128103542.GC17146@stefanha-x1.localdomain> References: <1511789372-12672-1-git-send-email-jhansen@vmware.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+nBD6E3TurpgldQp" Content-Disposition: inline In-Reply-To: <1511789372-12672-1-git-send-email-jhansen@vmware.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 28 Nov 2017 10:35:44 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --+nBD6E3TurpgldQp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 27, 2017 at 05:29:32AM -0800, Jorgen Hansen wrote: > A recent commit (3b4477d2dcf2) converted the sk_state to use > TCP constants. In that change, vmci_transport_handle_detach > was changed such that sk->sk_state was set to TCP_CLOSE before > we test whether it is TCP_SYN_SENT. This change moves the > sk_state change back to the original locations in that function. >=20 > Signed-off-by: Jorgen Hansen > --- > net/vmw_vsock/vmci_transport.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Sorry, silly bug on my part! Reviewed-by: Stefan Hajnoczi --+nBD6E3TurpgldQp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJaHTv+AAoJEJykq7OBq3PIEAwH/iKcvvOLxGvjT6mIJK+mqfiJ 8+Ve54Wn2Ca3ogzBnf8lJvyv2pKpo08LK2BkGimS0A9WdY5IzB2Er3wFAbX+877p +vXS48lL4Qy+eJpOVFYwE8wDdrcmmpG432IOoZfwMQp84ovNyjm01kwGpDFgoj4v 5/3qdNWsBkB3q9PO/HSoYgu3l1wWVuPDLyLoZSbyLmS162n8uDHSk9MMlbI3WpYj Xu9HG4fTYk0/UGRowvS3CajARDYApBPM45HahYQ6b2mO4sdpAJs09GI361HVr/ll 4nw42YT0hDKfIPwtuYDVOp6oVnbYNzkTOxb+paZe/YoqoTdJodrNIMxsgruu7hc= =lqK1 -----END PGP SIGNATURE----- --+nBD6E3TurpgldQp-- From 1585226114508995365@xxx Mon Nov 27 13:30:31 +0000 2017 X-GM-THRID: 1585226114508995365 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread