From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 716FD4C81; Thu, 26 Feb 2026 01:43:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772070236; cv=none; b=RHom6d7gA2KAW3UMEKq8UTqblyVuvl+Ouv7wmbBPhwqNi4RZhJMIWtgW71WGZyT+UVKXO3i1CMLZIi3eORXqotOQ3Q5QVWYjabjoKD2tvogd93MOET+tWq31nME3xMvH+uOUWIznDvSnGTUUKtbqdMln9TEZ6jHqb+VAZ7LJ554= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772070236; c=relaxed/simple; bh=BhOSzUokZoKHeOKyuPq1s+G4YR+ei6KQ4tjOOyLQcHI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tBsjm4NGlaPFUvtlv5sIH+PftPS9rH0de/rB+Wo5+L9P3kOiP29GTLIPjHcJK087MAtxiBvqdVW/d7c7EzOHSAsNIIr/1N8pfGMtWcyeRnUHw0T5hntw9d0vNM3EMige1HmjX5UHuaGCN5KlSjOfBj4OJVuuXoTpY1GNVXtn+n8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TH8dlHy0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TH8dlHy0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FEECC116D0; Thu, 26 Feb 2026 01:43:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772070236; bh=BhOSzUokZoKHeOKyuPq1s+G4YR+ei6KQ4tjOOyLQcHI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TH8dlHy09Wl9FaoynpvrWJL4oNYG+s2COlHlck9FZzFcMdn19JhI6HSJVeo1gtheI FcnB5m3DgVsGf3LSovrVpniu482tiJQXAEShru8nQRGLCk61vOTv9P+p9TKlyLu8eV /60g8cdDsM3jxUWAr4yF3e0g0HnwP85EtpfVTRrpJ7gc8s66+EtS3i72mmez99wTTq NbuJILrhSEP4JyPiXb6Th+EbomCPHifZhm5xuDb29l/AgEbMWeZZC4vB7tnmrRqyIU rpRo1SKvaOeeBu89y9axRnS593kiQNGerjb6FiY2KuUxcCE7SWA/xSPDLJHtV1jxtY E+k8DeSalJxpg== Date: Wed, 25 Feb 2026 17:43:54 -0800 From: Jakub Kicinski To: Leon Hwang Cc: netdev@vger.kernel.org, "David S . Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Jonathan Corbet , Shuah Khan , David Ahern , Neal Cardwell , Kuniyuki Iwashima , Ilpo =?UTF-8?B?SsOkcnZpbmVu?= , Ido Schimmel , kerneljasonxing@gmail.com, lance.yang@linux.dev, jiayuan.chen@linux.dev, Leon Hwang , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH net-next] tcp: Add net.ipv4.tcp_purge_receive_queue sysctl Message-ID: <20260225174354.5a698ddb@kernel.org> In-Reply-To: <20260225074633.149590-1-leon.huangfu@shopee.com> References: <20260225074633.149590-1-leon.huangfu@shopee.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 25 Feb 2026 15:46:33 +0800 Leon Hwang wrote: > Issue: > When a TCP socket in the CLOSE_WAIT state receives a RST packet, the > current implementation does not clear the socket's receive queue. This > causes SKBs in the queue to remain allocated until the socket is > explicitly closed by the application. As a consequence: > > 1. The page pool pages held by these SKBs are not released. On what kernel version and driver are you observing this?