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/sysctl_net_unix.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/sysctl_net_unix.c')
| -rw-r--r-- | net/unix/sysctl_net_unix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/unix/sysctl_net_unix.c b/net/unix/sysctl_net_unix.c index 55118ae897d6..236b7faa9254 100644 --- a/net/unix/sysctl_net_unix.c +++ b/net/unix/sysctl_net_unix.c @@ -10,6 +10,8 @@ #include <linux/sysctl.h> #include <net/af_unix.h> +#include "af_unix.h" + static struct ctl_table unix_table[] = { { .procname = "max_dgram_qlen", |
