From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.214.199 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796083799; b=y8t7ZtxLWHzeSUCR3loSyEOLLWubaHRB4jMr2yfgtlrL/RTp15h7WXKsAAZgDB+RY2k8 e6KkHWMs8PTRE9+OqaU7+poie76fxZjcfGsBvOlgqiQRJ45THlKpj0OZIow5AzQlXbfW/ 1TmTGXS3YVGk/apIuH06IalQLVeY5FLgFUgYWkV9OHVEvfKHqHDhVbIm7ulrwO8A4nY80 gSjwaKdORnCCVhekcLkADHKfRIWrPvlE2jVeq//IkzlwX8yvwA7Mq1bMDL+MnzO1K2Cdi ddMUbZ8KhqJxw7mtly4KRGymsR3bTvlISNWjgyCYcTaINyxvGGP0hC4b/0zmsyZqkwA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796083799; 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=jX7dXHDhZk+dvF0oQIgyhP8yMOBdNwJFw8rZ/NiqdKdpU5uE6S/wMHyL3V6Cgrz/2+7a Wx6qO99RG8PwlYTsWhtL8D2kgXRy2UfjLVASOazJ8uDMxu1K/tSkL9bi17rYLlncIVNe5 YsepXzFXScp9s2nQsJ/FAjMEMcyGWe0yyTrTbNGQObeQBHTO/lybjTqJmHXn6KybtXGRR YfslNO1ujUp5Y/GD64igxuuBMR0aFFGNcMbPLZcO2NChcd4zyDpUB5si2gzbikt/wHTt+ XoMouM7ke7I+MMBcD9+MXBsZ3RFGBh/JsdyxCBFJXlHd6GGeSGHF4a2bLLjUwZD1D3A== 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.199 Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) (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 24539606A330 for ; Tue, 1 Dec 2026 00:09:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 24539606A330 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-f199.google.com with SMTP id d9443c01a7336-2f03a137f6aso94402555ad.3 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=ldMN+qO3UENz4s+jdY4Bdm/tBU4XTVA/suAkTodZqZdsdD43EF17uqL0NzQpr3xlp3 EbD4K9F8PjtFggjjWXxDIRGn+L8MLROvQbDKdbMOBJohViO+Veq44bPmDKdstDjh5SRv TmJXtYd19fLW5Ii+xg54r0AnlWuUinVwDKyY456Nqx1NAL2su8wsCSqtC2Xu1GYwafMh 1MFr42VEYgXqlrG7S4AqfZbJbAfcmc4h06k+ZLcAwAv46YJodSc5mbuuPSrNdqx+jFU3 0CGw3hB/2oE0XYUApCAvCjc0EIMRKhmtKg3wPox7FBAiT0f55BS472XFFqakMihF0hkL +gpg== X-Forwarded-Encrypted: i=1; AL+hErGbCjITijO5+Pg0WSQmlXQd6HR+e5Ddpl9cxi1EnGEzByfs1nGh5OokKWyZpdeWuEj0KcU5Rzs=@vger.kernel.org X-Gm-Message-State: APuU4Z+rKerAMcP7aH81oG9D3EbBSayR7WRKNW+2DyGs4SWw9kwpdoY2 5LvpwfkekBx3+hSu+pnPUQzweEymseb/A/sJ1zsdsVDdeHQTH7s5I270gqberi4kCiIBcEseVBZ uvqL7Dg== 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: netdev@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