Re: [PATCH net-next] ipv4: igmp: remove multicast group from hash table on device destruction

From: Yuyang Huang

Date: Wed Jun 10 2026 - 07:03:54 EST


>I probably misunderstood the commit, but you are talking about a
>'use-after-free', which doesn't seem trivial for me.

This patch is a follow up for fixing sashiko's review comment in
previous patch series:

* https://lore.kernel.org/netdev/95adff35-ee56-49d3-8567-382ac17810b3@xxxxxxxxxx/
* https://sashiko.dev/#/patchset/20260531030705.3754389-1-yuyanghuang%40google.com

This is a long-standing bug, not a recent regression. Given that my
previous patch series fixing the data race in the igmp/mld code path
did not qualify for a 'Fixes' tag, I am unsure if these follow-up
patches warrant one.

In https://lwn.net/Articles/1074171/, Linus mentioned

```
So people: start looking closer at your pull requests, and ask
yourself: "Is this really a regression or serious enough that it
shouldn't just go into the development pile?".
```

My takeaway is if the bug is not a recent regression or series enough
bug, the patches should goes into the net-next instead of net.

Thanks,
Yuyang