Re: [PATCH net v2 1/2] tcp: diag: bound bucket lock hold in tcp_diag_dump()
From: Eric Dumazet
Date: Mon Sep 07 2026 - 03:08:53 EST
> - bind cursor UAF / dangling tb2: valid
> - unconditional sock_hold() on unpublished TIME_WAIT: valid
> - clearing s_num on cursor mismatch: valid
> - lockless cursor-membership checks: valid as a concern
> - commit message overstating bind/ehash fill-under-lock: valid
> - missing note that MPTCP needs the follow-up patch: valid as a
> backport note
> - endless re-scan of the same bucket head: not valid as a
> guaranteed livelock; duplicate output after a rejected cursor
> is valid
I just saw your patch today. This is absolutely insane.
Please limit the complexity of a filter to something reasonable.
Absolutely no sane user is using a very complex filter.
Same for UDP.