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

From: Tianyi Chen

Date: Wed Nov 04 2026 - 22:29:40 EST


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