Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp891169rdd; Wed, 10 Jan 2024 02:41:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IH9Zi2wrUncas/Sqdxth61FZuwIwteKsygKeSOfIB6R0XW3YLlL3z28Exjd4bvBwUJvGtTG X-Received: by 2002:a05:622a:1915:b0:429:992c:4d7b with SMTP id w21-20020a05622a191500b00429992c4d7bmr1152613qtc.64.1704883298064; Wed, 10 Jan 2024 02:41:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704883298; cv=none; d=google.com; s=arc-20160816; b=fDPbGJSn5pHU+l+G3ZdppE8PGbHdB+UxUnbcF519r82S7KNJ9eBqr8CRph2EjIsJc2 jmkeSDLzFcVowaJ1uu0N4mfS1pn6tBUQqENp8SF+pHc24Jgl6ieTdzKitWuKX3Qyw/M/ F0hI3Fink3aTfekwFDpr8Puweoy9YVUtrOw11OICTzXy3ZvVO/sSyrPzC/rTE3MMdetX xh3wCAYP6UMxOU6kRBsrhkCp5SkoxXEw1sQv5TLTP22H0ln4BRJKsZXM2DZoDqaSpu4M 6aDjVcpozmvBvqMPJvVt34zJw3r/1zuYqzpIWIOvuXTZ7KG5ZuhRWosJZz+sCDWGYQRn d8Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=RmzfzN0zzJnyx9WB1y8fn4jQVFu6Vh2c1qnlObNp4q0=; fh=86OJ1lVOpGYnPNjf1g8aqgDXPw6P9ie/EdQns5FOmKw=; b=OuEpihQ6zlTBB/CncnlWZ8+9mNanGcTTMOknBJ9ADJ8euiQ1SzPsuS5C8w2ce/tZTm eo2liQ6PhbKquCG3mDycx4zOyQDmw96qzuMEfv/tjgooLypla8cluu1G4FJYJ5R7uX20 ghfE3kXNW2bhIez+9zAcHhiab9cIbkjIzzKrNbv8CPMtIPyQmuFbeieijtWIOfTzcF1L 4N9ShFNxJJ+P17kOlngSf+LddFAzzqbtD1MGfBCEJIQXQ5v8Y7h7Nowwew5YuOxrV6wd JzrM8gMlGo9mGPvzUDP7sDjcYbVY6CpP2YYHTbRzO02zXPKOjV0lnwSb+Q4ulGfgDEjE 7Dbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=bsABLVz5; spf=pass (google.com: domain of linux-kernel+bounces-22003-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22003-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b6-20020a05622a020600b00429869ee549si3880589qtx.28.2024.01.10.02.41.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 02:41:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22003-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=bsABLVz5; spf=pass (google.com: domain of linux-kernel+bounces-22003-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22003-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 661241C21A5E for ; Wed, 10 Jan 2024 10:41:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79F454122B; Wed, 10 Jan 2024 10:41:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="bsABLVz5" Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6937D3FB36 for ; Wed, 10 Jan 2024 10:41:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-55818b7053eso7110a12.0 for ; Wed, 10 Jan 2024 02:41:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1704883287; x=1705488087; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RmzfzN0zzJnyx9WB1y8fn4jQVFu6Vh2c1qnlObNp4q0=; b=bsABLVz5ihEahS6N7sIobE6Kqigl4JFKoWapOfjWGLkw4OFo+ChMfE7CQmh2Jo/Tc9 U3ziIqUoEbMkdDYw7vrlwhsPj5QVeBg8v9AUROYkBk3QMYrKiYZGkmUOJKLfrua80H/u uWP60eERtGrVHNMnDgQbJlqycsYozLAERj3jNwHhYBh3S27FWQJyKG5dx/jkfgNbdi8V 6DsZO2ucyhCi7VqA4rF1QscAz46um5vqitIFn59N6kc0U7kMnUgCnCZs8JxYFLGpJfM8 OB8x1rzP5KYacQ/Ri3vwK58Jq5GdEQrqkKquFQ40JqhwJ9Dw6UrqqehLd661T2yPWjbX z8YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704883287; x=1705488087; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RmzfzN0zzJnyx9WB1y8fn4jQVFu6Vh2c1qnlObNp4q0=; b=UBLvEw9kRFBNUhVUWq0PJ1nepaZvrKf4xSyshWGYSMRREDJg6UH7XFISzh0sHg+eGM uu8EtKE83/fCp2geDa7PCCHHoFhOttI+amC0GrpjU3Z0OAxP96ltczDjFMSh6dowVLeJ TYRJRFdoTwTH7dAtNwHYVyqIe5WrO3OXXbIdLCq8lmiNiuhZQTgnkckddjzB/aHUYiF7 TAkv/WURXfWZCInAMXDYAPnrRGHqFQsxXOy5OytaQqc+ed5kmXz29vRZA9zIbyBXLiKD zkx5dIKXn2jibMpfh8Kt6T2YRetuRGnCzUoa0RQ8hOZ2dBl2HnJ6AR5F+e5Pn7UANl6d g7JQ== X-Gm-Message-State: AOJu0Yyuhj73+A4x3DXnPKqGxFEHctdJFY9TOwaisR1mUytqSsaNdDbE c9Mu4EQUTywo980tSbngGk+OGmk/S0BFvYVFJmJG1aPUVCvXCf1VvSE4YTkbvIJ6 X-Received: by 2002:a50:d711:0:b0:555:6529:3bfe with SMTP id t17-20020a50d711000000b0055565293bfemr135444edi.1.1704883286597; Wed, 10 Jan 2024 02:41:26 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240109031204.15552-1-menglong8.dong@gmail.com> In-Reply-To: From: Eric Dumazet Date: Wed, 10 Jan 2024 11:41:13 +0100 Message-ID: Subject: Re: [PATCH] net: tcp: accept old ack during closing To: Menglong Dong Cc: davem@davemloft.net, dsahern@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 10, 2024 at 11:25=E2=80=AFAM Eric Dumazet = wrote: > > On Wed, Jan 10, 2024 at 4:08=E2=80=AFAM Menglong Dong wrote: > > > > > > > Oops, It should be "SKB_DR_SET(reason, NOT_SPECIFIED);" here. > > Sorry that I shouldn't be too confident to compile it. > > > > net-next is closed, come back in ~two weeks, thanks. Also look at commit d0e1a1b5a833b625c ("tcp: better validation of received ack sequences"), for some context.