Re: [PATCH bpf-next] selftests/bpf: Clean up sa_family_t-stringifier
From: Kuniyuki Iwashima
Date: Thu Oct 08 2026 - 13:24:09 EST
On Thu, Oct 8, 2026 at 10:12 AM Michal Luczaj <mhal@xxxxxxx> wrote:
>
> Following commit f3de1cf621f7 ("selftests/bpf: sockmap_listen cleanup: Drop
> af_unix redir tests") and commit 9266e49d608c ("selftests/bpf:
> sockmap_listen cleanup: Drop af_vsock redir tests"), sockmap_listen.c:
> family_str() becomes functionally identical to select_reuseport.c:
> family_str(). Move the logic to socket_helpers.h.
>
> Suggested-by: Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>
> Link: https://msgid.link/CAAVpQUDULzZh58oKkRaYqgM9bRToGb7wHrzT+cZNpRmAtM12Ow@xxxxxxxxxxxxxx
> Signed-off-by: Michal Luczaj <mhal@xxxxxxx>
Reviewed-by: Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>