Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.214.200 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796083800; b=09ZGexbY5nxhyA6BggXk9Gl4m6NL5uKvh9oGy/Kndd6N4Zty30gbT5IecqISHoA2r087 ckr8ZwsBsm1Fy+S35igKw3DxKuOUC3STtbAV3Xl/Vpdn/BUZ5e6ONoWWVSenU4SRqpplk J+j+ewepd+ZQbXALrEUZXWhCVxm5Hn8LgTK43jxk2xJViPWfwrhVFzCWEhoLr7f8+xm8v ESiCC0NRfGlN4uAx/CKV33qfg/xjZAjhBRnpYUy/piwe03kOxfWBSni+sFWVtU+lP3QDm NXUEdvv/BIiTbg4icUyrW/F1fC88bxcmoMOHWM8k9z9vIN6Kxs70OHFdh0O7i6YtbKg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796083800; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:Message-ID:Subject:From:To:Cc:Content-Type; bh=g502YRYwSsZHedxVq2OteO1o9+dmuJFr3kfA3E4BooM=; b=f2mM1PNWfkUX6R70TyPDWwtmTow+A0NgTbk6FS/EKsS8+klPJzord+1Sadc0Koicjs3Z QZClfssJmSzluZ16JQHMdLRD9vHvriCx4oq3t2ZaL5uVi4wHkocyxsqmjjWwxOAclJcsw wwxGNYG39IGhA5ZLXeg0Yf1of6oRgvIpXCkBnKHUpkT1ufz7RSgEek+9Gwi3QYRtL4uLP 5apTBwTABDGsCzD1rVp1bU6yyHD6PnNrBfPhZkF5XhMCOR1ZNixzWSeiQ8WTvFemWyi3P zKlvphOLOV9+KdVLskj0NYVZwTNtevLQprnrPTTZKQcXKuk04UFRUvc+eRg53WD1qng== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--kuniyu.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=or+4lwa2; arc=none smtp.remote-ip=209.85.214.200 Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 25099606A331 for ; Tue, 1 Dec 2026 00:09:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 25099606A331 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=flex--kuniyu.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=or+4lwa2 Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2efe8f2bdc0so91204515ad.0 for ; Mon, 30 Nov 2026 16:09:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796083798; x=1796688598; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=g502YRYwSsZHedxVq2OteO1o9+dmuJFr3kfA3E4BooM=; b=or+4lwa2qGT/FjbJRx64OPyIRPNbZtlwD4bOZku3FXHqrDbNDFb3jy2JLRW2fP4epH SXtwR4CWQ4hXSUx5xiCD1n5eTrsv6zHSG6hg1ku/TmnIPtFiz0cgqkMUuWmTA6U0Dq+7 agQXDJn1PWTNu/la2VbP5QKLMpKPcIEep1Y+jR/9v+gCS0msdHKs2rFs6QiJ9wBBe87H sFRH9fYhUjLJkbc5P2Na4YSK2/4hXu6e1pz+QTeRvPwPoONLHy2NLiS4gyI2Fuzp+5WH 9CHgCCFkp+Nbzj8jX7rcuctekXrHJ7Eoam0rEN0uZeF8h2cgrRXOBcBNhFoHeDZj6uS7 gl5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796083798; x=1796688598; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=g502YRYwSsZHedxVq2OteO1o9+dmuJFr3kfA3E4BooM=; b=SiJUXe7hXq3GfXTkJc+70pdpCwXED5wr89Eg2FvjXdBUBYGP7SSARHnUhl29s94ory Y0ymkhiJc9gr+XxNr91rYERn7Hw8QP5+lzLno8TK5tXs5wyIqeEB9oqI2+5bkB7y+58+ Toa7Ces0TKapjjpQYzSvT6y0qxKGnEB8lWBN59rpM3mIjX3bvekmBE8z1Om1ZBVbeq3r H3XDsqEKoY4ZYKnOxm8vihAfbV3RSAcqVe/fMzClWjmAlB3ZC0IJctHrBwrpPn4BCKAg +8C/RQe2Mybr6XlI9ST63+4/5Zreh7C0tgvaBNSoHbTAOeNJ3cCqxMr+oRKfN4Hl3wbV E/qw== X-Forwarded-Encrypted: i=1; AL+hErGPvu33/01SscMGzbky4JP2pnOgRr8li46Q1kmDR4HWRga7CiCgsyPBZE7MS2rIZzKMYxDaOMY=@vger.kernel.org X-Gm-Message-State: APuU4Z9+frNtlvYiqdufn6X1MGV/wwxS2HqR3M3UVtoba6SNel2qzDMi 0TnuR10R7FtxCQTjQWl2uUBefRyJd/FIfR0poW31HJ5mDmy+OLvA2wkR8VT/IdQJ5i6x7EEg8Xr J7OUQ8w== X-Received: from plpj15.prod.google.com ([2002:a17:903:3d8f:b0:2ef:a836:c1be]) (user=kuniyu job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:db08:b0:2ef:dff3:47e7 with SMTP id d9443c01a7336-2f03f170f5amr375687765ad.33.1796083798212; Mon, 30 Nov 2026 16:09:58 -0800 (PST) Date: Tue, 1 Dec 2026 09:09:57 +0900 In-Reply-To: <20261123-net-mptcp-misc-fixes-7-4-rc5-v1-7-278042217e8d@kernel.org> X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261123-net-mptcp-misc-fixes-7-4-rc5-v1-0-278042217e8d@kernel.org> <20261123-net-mptcp-misc-fixes-7-4-rc5-v1-7-278042217e8d@kernel.org> Message-ID: Subject: Re: [PATCH net 07/10] net: add __sk_net_refcnt_upgrade() with a GFP mask From: Kuniyuki Iwashima To: "Matthieu Baerts (NGI0)" Cc: Eric Dumazet , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Willem de Bruijn , Simon Horman , Mat Martineau , Geliang Tang , Christoph Paasch , Florian Westphal , netdev@vger.kernel.org, mptcp@lists.linux.dev, Davide Caratti , stable@vger.kernel.org, Neal Cardwell Content-Type: text/plain; charset="us-ascii" On Mon, 23 Nov 2026 14:24:55 +0100, Matthieu Baerts (NGI0) wrote: > sk_net_refcnt_upgrade() gives a kernel socket a reference on its network > namespace, with a netns tracker allocated with GFP_KERNEL. The next > commit needs to do that for a socket created in atomic context: the > child of a kernel MPTCP listener, created when an MP_JOIN request is > accepted. > > Add __sk_net_refcnt_upgrade(), taking the GFP mask to use, and make > sk_net_refcnt_upgrade() call it with GFP_KERNEL: no functional change > for the existing callers. > > The 'Fixes' tag here below is the same as the one from the next commit: > this patch is needed to fix the issue introduced by this commit ID. > > Fixes: 1729cf186d8a ("mptcp: create the listening socket for new port") > Cc: stable@vger.kernel.org > Signed-off-by: Matthieu Baerts (NGI0) Reviewed-by: Kuniyuki Iwashima