diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-03-25 13:24:23 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-29 08:28:38 -0700 |
commit | a15702d8b3aad8ce5268c565bd29f0e02fd2db83 (patch) | |
tree | 80e5103750287a1fb1fab84191905687350a8fc0 /net/unix/af_unix.c | |
parent | bfdb01283ee8f2f3089656c3ff8f62bb072dabb2 (diff) | |
download | linux-stable-a15702d8b3aad8ce5268c565bd29f0e02fd2db83.tar.gz linux-stable-a15702d8b3aad8ce5268c565bd29f0e02fd2db83.tar.bz2 linux-stable-a15702d8b3aad8ce5268c565bd29f0e02fd2db83.zip |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions