From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (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 C1473408606 for ; Mon, 27 Jul 2026 12:59:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785157184; cv=none; b=iFMc/i6UZYyWQLKduBhbWtxwYDv7+CXj/jj5u4EV0TDWb5VBpzcVjY7vvggeNWtr12AZT0hiqa6HC3ClXRH6sppd6fwsSYQ9maOfn95t0+DK5N5cIJKP4jAwJcwUDhV5Uftgh/53hjGEz2nL6xB7Qtge3QQjvdeFT5FYxtzAcKU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785157184; c=relaxed/simple; bh=hFgTbWZ2T1eOWywSvxcDyVgVzbRIiGWe9YqxFXoTrn8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QlfxQ0jzJKYqov2Vlu2jb2jJNdFYfc7QXsPNnBHuWcTdo2R1L6MnurdznQuWVgZBMzTRRPV0i7bUVb/OzaTyfAO6g54+i4YgE2ivuKkj7qLcN9q2pvqsGjK9Qc/fmBB68P12pQgYlPsCFS0gYFODEXbJKT2HGUDCVvJ5T+R8VGs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gdPf0kBQ; arc=none smtp.client-ip=209.85.214.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gdPf0kBQ" Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-2d004f135b1so4945585ad.3 for ; Mon, 27 Jul 2026 05:59:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785157182; x=1785761982; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=hFgTbWZ2T1eOWywSvxcDyVgVzbRIiGWe9YqxFXoTrn8=; b=gdPf0kBQbg/UK700QJILbP9RrvrcGptZv4bQEPPAToKHbwBr2h3IXVN1DyAC4cz/7I AqEEBd9OXJMUd5if+xi+WMBOa4E0VjNcbrb7iHdlgjGqUhmHcOn5sQH2m2xmbySauPG6 nFlNHQt6nZ86irVlT+3DIG7+qI3ioqG2oQPD8qcgEPF5154DnnRAesb6dxDKMjkp2xag HQOKDjDxW8L5LhJyhiGYUdEYdhaw+OOT6Qx7AseotOk97XbozAdxsVbzRqDqQ8ct0UbQ tEJrUUjniz1ZPyL6/JFmHUcQy6hL3rdy2CsDevtkCntPYOtoX26v7hBelbeT9e18Gthx WIsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785157182; x=1785761982; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=hFgTbWZ2T1eOWywSvxcDyVgVzbRIiGWe9YqxFXoTrn8=; b=m3D0MYnyLeBmuUDtXgSlaQCSy3DmXDGtPIR9gKM6r0QpTpzNI6x5wHz6ZkAJtQKd7C xhtaBO5T1Y6z5WXmJU7fa5FKR2w1mF+vHYzUcMsDPlypxQqjsKWZui8Y6edE/r+UypP+ htUjQ3dRa4NpPHWluAqTzBg6l0f1qFsXWYPbbkgO4FnfmVEEbeoaz49dlPEsBTXw/Q3O frkl3CNxCE152Y3+POmp0lpv2p82x+TOm4FelqYakF8Twu2tW7OP5jvBWSu1c5RyOuTT h0SmBnm5Bi9GnG3y9D1pI2xmkOvupxCFnFnCpSWDzglBcqRZJJor0Yts6P/ojEqVEojl ug/Q== X-Gm-Message-State: AOJu0YzOX4wX3jCmAm5sHGhPcKSYWo7/HktwmMnKWcSQhpZC146W3XWZ Cn/ojVqlFtT772I0kssVNSPZPfcgXAemSCiu2Rs54SSmRcxMoue5Kk5/ X-Gm-Gg: AR+sD117pqixTm/xXVKnQOOaGZKWU16wdozzG26f6LCzbiIWv0U2HGO4VznWj744PJK OJaEEmAvwq9A/JEhQzAdKSMxAq+bPqNl4w+X+Su3WTDOeWPqjx+wtalO2AZI+7WTnhzF3kPt5O0 HGtBu5es/D5L6Svv63iDaR+J+VghSfzmL4PFvdYcgGASR+g/w/zB3A2stgJZAZrXHSbyeRxdgTr Qwo7NwTELNzdUK+48FQnvuWwt1RVJbhFcJUGkBLVNsNsfZ5DSICZ6G14Mf8jM9/2Kvpwp0XgTTj w/sCsqE3BESa+qJt4u43GWXMKaeKyvi9UCNMuY+e3t3mNyjNCDPrhDjmZE2Ccrhidy3Izog1u/G CkcBntNvdI10WW5veUQdQOCrtXe1/bxJ2D6QUujGxyuYoFXg3CwC7LLXz7Z/lEb6rXAZiZwGVTv DwUFfK9zTMYm5+5VgDChq6Mf80wnN3WG5hLDQi5sNcfkcCpuc= X-Received: by 2002:a17:902:c943:b0:2ca:ecfa:1308 with SMTP id d9443c01a7336-2d0089fbaccmr6098045ad.20.1785157182069; Mon, 27 Jul 2026 05:59:42 -0700 (PDT) Received: from anna.. ([114.70.9.168]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2cfde7ee3b1sm34404955ad.62.2026.07.27.05.59.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2026 05:59:41 -0700 (PDT) From: chanyoung To: Sabrina Dubroca Cc: netdev@vger.kernel.org, John Fastabend , Jakub Kicinski , David Howells , Shuah Khan , linux-kselftest@vger.kernel.org, stable@vger.kernel.org, chanyoung Subject: Re: [PATCH net 1/2] tls: don't over-fill the plaintext sk_msg ring in tls_sw_sendmsg_splice() Date: Mon, 27 Jul 2026 21:58:04 +0900 Message-ID: <20260727125804.2889161-1-ppoo1220@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 2026-07-27, 12:30:48 +0200, Sabrina Dubroca wrote: > This should never happen. We need to fix whatever path leads to that > invalid condition. Your diff is right. Tested on net (53658c6f3682), stock config: without it the test in 2/2 oopses in the AEAD walk, with it applied there is no oops and no regression in the tls selftests. Agreed, my patch was treating the symptom. Sorry about the verbosity of v1. Happy to send a v2 with your diff if you'd like me to carry it, or leave it to you. Should Fixes: stay at fe1e81d4f73b? Thanks, chanyoung