diff options
| author | 2026-02-03 21:30:07 +0000 | |
|---|---|---|
| committer | 2026-02-04 09:36:06 -0800 | |
| commit | c26b098bf42c71111ca976ce330ea5c66b9a5d8e (patch) | |
| tree | eb3d2fc4d42d5f1b9433d015e3f037d12892d3d8 /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | bpf: Use sk_is_inet() and sk_is_unix() in __cgroup_bpf_run_filter_sock_addr(). (diff) | |
bpf: Don't check sk_fullsock() in bpf_skc_to_unix_sock().
AF_UNIX does not use TCP_NEW_SYN_RECV nor TCP_TIME_WAIT and
checking sk->sk_family is sufficient.
Let's remove sk_fullsock() and use sk_is_unix() in
bpf_skc_to_unix_sock().
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20260203213442.682838-3-kuniyu@google.com
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
