Kuniyuki Iwashima a15702d8b3 af_unix: Detect dead SCC.
When iterating SCC, we call unix_vertex_dead() for each vertex
to check if the vertex is close()d and has no bridge to another
SCC.

If both conditions are true for every vertex in SCC, we can
execute garbage collection for all skb in the SCC.

The actual garbage collection is done in the following patch,
replacing the old implementation.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Link: https://lore.kernel.org/r/20240325202425.60930-14-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-29 08:28:38 -07:00
..
2023-10-01 19:09:54 +01:00
2024-02-20 15:32:45 +01:00
2024-03-21 14:41:00 -07:00
2024-01-11 10:07:29 -08:00
2024-03-07 21:12:43 -08:00
2024-03-16 11:44:00 -07:00
2024-03-29 08:28:38 -07:00
2024-03-02 20:50:59 -08:00
2023-12-12 14:24:14 +01:00
2024-01-31 16:41:16 -08:00