public inbox for bpf@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 bpf-next 0/2] bpf: Misc changes around AF_UNIX.
@ 2026-02-03 21:30 Kuniyuki Iwashima
  2026-02-03 21:30 ` [PATCH v1 bpf-next 1/2] bpf: Use sk_is_inet() and sk_is_unix() in __cgroup_bpf_run_filter_sock_addr() Kuniyuki Iwashima
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kuniyuki Iwashima @ 2026-02-03 21:30 UTC (permalink / raw)
  To: Martin KaFai Lau, Daniel Borkmann
  Cc: Kuniyuki Iwashima, Kuniyuki Iwashima, bpf

Patch 1 adapts sk_is_XXX() helpers in __cgroup_bpf_run_filter_sock_addr().
Patch 2 removes an unnecessary sk_fullsock() in bpf_skc_to_unix_sock().


Kuniyuki Iwashima (2):
  bpf: Use sk_is_inet() and sk_is_unix() in
    __cgroup_bpf_run_filter_sock_addr().
  bpf: Don't check sk_fullsock() in bpf_skc_to_unix_sock().

 kernel/bpf/cgroup.c | 6 +-----
 net/core/filter.c   | 2 +-
 2 files changed, 2 insertions(+), 6 deletions(-)

-- 
2.53.0.rc2.204.g2597b5adb4-goog


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-02-04 22:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-03 21:30 [PATCH v1 bpf-next 0/2] bpf: Misc changes around AF_UNIX Kuniyuki Iwashima
2026-02-03 21:30 ` [PATCH v1 bpf-next 1/2] bpf: Use sk_is_inet() and sk_is_unix() in __cgroup_bpf_run_filter_sock_addr() Kuniyuki Iwashima
2026-02-03 21:30 ` [PATCH v1 bpf-next 2/2] bpf: Don't check sk_fullsock() in bpf_skc_to_unix_sock() Kuniyuki Iwashima
2026-02-04  1:52 ` [PATCH v1 bpf-next 0/2] bpf: Misc changes around AF_UNIX Stanislav Fomichev
2026-02-04 22:44 ` Martin KaFai Lau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox