🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #11464

Re: [PATCH net] ipv4: igmp: report interface group allocation failure on join

#11464
From: Tianyi Chen
Date: Thu, 05 Nov 2026 02:57
18 lines
8942 bytes
Hi Ido, Hangbin,

> Looks like unnecessary churn. The failure is not realistic.

I see your point. I found this through LLM-assisted code inspection and
have only reproduced it with fail-nth, not in normal use.

Hangbin wrote:
> Is there any details about the reproducer?

On loopback, I used fail-nth=2 for socket A's IP_ADD_MEMBERSHIP,
joined B to the same group, then closed A. B stopped receiving multicast.
That cross-socket effect was why I sent the patch.

I'll hold off on reposting. Thanks for taking a look.

Tianyi
Technical Details
Message-ID: <179384744061.507013.15578905095186813950.igmp-review@tychen.cc>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357040-linux-kernel-netdev=dewy.ru
References: <179260356668.911829.6576504063198285556@tychen.cc> <20261025105743.GA126003@shredder>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357040-linux-kernel-netdev=dewy.ru
From: hi@tychen.cc (Tianyi Chen)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] ipv4: igmp: report interface group allocation failure on join
Date: Thu, 05 Nov 2026 11:57:20 +0900
Organization: Usenet Network
Message-ID: <179384744061.507013.15578905095186813950.igmp-review@tychen.cc>
References: <179260356668.911829.6576504063198285556@tychen.cc>
 <20261025105743.GA126003@shredder>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3547485"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:KOKbiTH3f/KZaxrjcXqZX6e9bX0= sha256:Mj4XFtX3bkaG2bXUD83dA6p6mgQV+mivwNb3jSMflOM=
	sha1:9xNIgEcraZYR7lE06w2EtpJB830= sha256:YF7w1U5BL9UzP9dzgVjMNi3NC+GRXqsySy2w+f5QrJQ=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 4960F112E6C; Thu,  5 Nov 2026 05:59:47 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.4
X-Spam-Status: No, score=-3.4 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=tychen.cc
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id HyP8_yflogxO;
	Thu,  5 Nov 2026 05:59:44 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-357040-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=tychen.cc
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 7EB31112E1E; Thu,  5 Nov 2026 05:59:34 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 5DA8D60A807; Thu,  5 Nov 2026 02:58:04 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793847462;
	b=fvhWK3oM97r+M4r1oMqhZLVWJbX2ngCn4Yxh/9I31uCzyRYJ1crge1hhIPqnpsgkD+dv
	 lxY+7S00AOSwkEmM07ySejBdHVQmykXufCriiNXswK6g1dol/efOBUBJkfDBsquv+erBQ
	 QQkkizYtKa/bflxIPGEAansEUuKyP4m542WInLCChwuvfiAgNeZbELEj4P8AuywHptZ3Z
	 JUx56kuknCVey8WTz2tJV8OjhTOVYCDW9QTjo/baYy4uuwRzpS70LEv8a2kayL5Z11GPa
	 rvaSEr1B/QLYsYCtWEtknB8T7mMCqTKJ7GyjI1KHDsewVYLBwqWIwtvHukS7tlGd2Zw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793847462;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:From:To:
	 Cc:Subject:Date:Message-ID:In-Reply-To:References:Content-Type:
	 Content-Transfer-Encoding:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 X-Envelope-From;
	bh=l8/0xa3PC32xn5HbMvXsINTXTxxz/3V7tp0GPxGULew=;
	b=s6qVPhbva6kIUOZpebQram3jpWMLW0YvxnDw1tBBFTqj8MCoilXgyPrld3to5m72wTGq
	 mjUlaZ9Dy7pGmQ8xD92lzee5POvU4z11u5y8hUQhyCMShFOLIUjzxPYlhJ2Pbv7NrefYd
	 T3mwZh2LjWqd+HWCGLctAni2i7jFuodAp/GUaBe/yuV5/EjCkoquwcksG9vbgwZ1DdjaX
	 DW9na6SK5HGYhfHS7efe106klx4T0eMfGmwh1cJ89fAh8sTABU49LR2p062+d0UQUXPTz
	 5Q5UWfHCaqvpKCBaWmU6jSNrJFAfQgEAIXUxzQccyVYw2VhjLOegv86vbvgDAAUycOQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=tychen.cc header.i=@tychen.cc header.a=rsa-sha256 header.s=spacemail header.b=PXns6i8N;
	dmarc=pass header.from=tychen.cc;
	spf=pass smtp.mailfrom=tychen.cc;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 75ECD606D819;
	Thu,  5 Nov 2026 02:57:42 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=tychen.cc header.i=@tychen.cc header.a=rsa-sha256 header.s=spacemail header.b=PXns6i8N
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=63.250.43.118
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793847456;
	b=eHUnCISMhcAWXCP6LFyigQR3DeTtfxSf2eTIp/dbGDzaTabVaDqHG5ZwFGLXn/4wJg0C
	 KHPNq3l67pL3up3BpPD/EuZBJ+tys/N+x+hrp1jKPhRaaY1XkkBHiHpxFKf9BCh9Hn5e5
	 aEDauLvClgVOfA2g6MQKGfiPC3CXC08J4SCMfVi8EoPljlcuFuI01PaOxVFHQbEFhxjxH
	 f5aMD9huMm+pwh+WcFc6TWEAInmukOM0wew+XnNtx8iusM+7Mj8sFs3/Ac7FOhXYXIMTv
	 vBCibZvpi2/U0Fsh7DyUFeLS3J7v9bWrVojxysWsybbLHALdlTKAITTrgSMtO2YOYUw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793847456;
	h=DMARC-Filter:Received:DKIM-Signature:From:To:Cc:Subject:Date:
	 Message-ID:In-Reply-To:References:Content-Type:
	 Content-Transfer-Encoding:MIME-Version:X-Envelope-From;
	bh=l8/0xa3PC32xn5HbMvXsINTXTxxz/3V7tp0GPxGULew=;
	b=OjExjhlOCfxWkjXUU5QMSLDEUv4qE+uYgnL3VmrbXVTm0e+NCs0qqqm1CPEwiZQbFTgQ
	 85AFpMvxViPxyCymIPsNzwB9bj/aIdb1gjMeeRQ4X+sBjEGPpex4UWpQ1Ye/Dc1bSxCRA
	 5jax9yJjrN+T4AeLPdFsiqOKCCijWh/WkW7EmmwuuKcyqwuumJ+YQfbSzWzfbQG/SmI6L
	 5OTO/19cyefaq+3P8DGWaTWKUB44VziE+0K0gJXPgUS/Q4f5t+pqsgts1j7Nl1hHaSHd4
	 TxSHIDtQuQUJQoSmx1sTajGS+5yYUkDmGYJTpJq3woyVAm+S6Lv6+F5tGoMhtHLHfXg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=tychen.cc;
	spf=pass smtp.mailfrom=tychen.cc;
	dkim=pass header.d=tychen.cc header.i=@tychen.cc header.a=rsa-sha256 header.s=spacemail header.b=PXns6i8N;
	arc=none smtp.remote-ip=63.250.43.118
X-Received: from out-2uec-a118.jellyfish.systems (out-2uec-a118.jellyfish.systems [63.250.43.118])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB0D7606A333
	for <netdev@vger.kernel.org>; Thu,  5 Nov 2026 02:57:35 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EB0D7606A333
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=tychen.cc
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tychen.cc
X-Received: from [10.18.116.108] (unknown [151.145.76.168])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by mail.spacemail.com (Postfix) with ESMTPSA id 4jKn6B4hgfz2x99;
	Thu, 05 Nov 2026 02:57:22 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tychen.cc;
	s=spacemail; t=1793847445;
	bh=l8/0xa3PC32xn5HbMvXsINTXTxxz/3V7tp0GPxGULew=;
	h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
	b=PXns6i8NDEU0YPdR6SSmzZBfMhMylL4SSMHEJOCAjDv2WIsx73ueFsg3dNgM2oUOs
	 9cvQFjZFtUmoLNQIyHLh4HFN/Mq6G+qYgZMbSAC6ww7kbcaOH9TKe3/djIfr4P+cIm
	 TJYo8isaatovcHfbh6PF4JhvKmRzJh4CAu6JUG/DhtJOmdY7OsO8EsJ6zycG7xRU9l
	 Q8W/7jvD25O8w0juF65wDYA/DcTR4rNLWfqoA5885rpU09ocoLLKzldPMr4iHjlffL
	 hhRGj+h/esJ7fELmi1QuB50OTA6n3Dls3FdooOfFWHh6vaeLVoXnZ1zqSK7eMKqVwv
	 z0UvUZqmU8rTg==
X-Cc: hi@tychen.cc, netdev@vger.kernel.org, dsahern@kernel.org,
 davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com,
 horms@kernel.org, linux-kernel@vger.kernel.org
X-In-Reply-To: <20261025105743.GA126003@shredder>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-Envelope-From: hi@tychen.cc