diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-03-18 03:48:49 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-03-25 11:30:07 +0000 |
| commit | 84960bf2403123a5a15711d050455e195a8d5ba3 (patch) | |
| tree | fa039d6a0f8f3038b5a5fd028c620587c43d2228 /net/unix/unix_bpf.c | |
| parent | af_unix: Sort headers. (diff) | |
| download | kernel-84960bf2403123a5a15711d050455e195a8d5ba3.tar.gz kernel-84960bf2403123a5a15711d050455e195a8d5ba3.zip | |
af_unix: Move internal definitions to net/unix/.
net/af_unix.h is included by core and some LSMs, but most definitions
need not be.
Let's move struct unix_{vertex,edge} to net/unix/garbage.c and other
definitions to net/unix/af_unix.h.
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Reviewed-by: Joe Damato <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
| -rw-r--r-- | net/unix/unix_bpf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/unix/unix_bpf.c b/net/unix/unix_bpf.c index 86598a959eaa..979dd4c4261a 100644 --- a/net/unix/unix_bpf.c +++ b/net/unix/unix_bpf.c @@ -6,6 +6,8 @@ #include <net/af_unix.h> #include <net/sock.h> +#include "af_unix.h" + #define unix_sk_has_data(__sk, __psock) \ ({ !skb_queue_empty(&__sk->sk_receive_queue) || \ !skb_queue_empty(&__psock->ingress_skb) || \ |
