Skip to content

af_unix: Fix inconsistent scc_index.

Kuniyuki Iwashima netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2af_unix: Unify scc_index when finalising SCC in __unix_walk_scc().net/unix/garbage.c+10 -70 repliesApplied
2/2selftest: af_unix: Add test case with mixed lowpoint in scm_rights.c.tools/testing/selftests/net/af_unix/scm_rights.c+17 -00 repliesApplied

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSimon Horman
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 net 0/2] af_unix: Fix inconsistent scc_index.

James Burton reported that a single SCC could have multiple scc_index and unix_vertex_dead() fails to detect a dead SCC.

Patch 1 fixes it and Patch 2 adds a test case.

Kuniyuki Iwashima (2):
af_unix: Unify scc_index when finalising SCC in __unix_walk_scc().
selftest: af_unix: Add test case with mixed lowpoint in scm_rights.c.

 net/unix/garbage.c                              | 17 ++++++++++-------
 .../testing/selftests/net/af_unix/scm_rights.c  | 17 +++++++++++++++++
 2 files changed, 27 insertions(+), 7 deletions(-)
Signature · 1 line
2.55.0.1007.g17ff1f9808-goog