path: root/net/Makefile
diff options
authorJens Axboe <>2019-02-08 09:01:44 -0700
committerJens Axboe <>2019-02-28 08:24:23 -0700
commitf4e65870e5cede5ca1ec0006b6c9803994e5f7b8 (patch)
treeb8fb35e27f64bd350bb4166a2708d7f147719fa1 /net/Makefile
parentedafccee56ff31678a091ddb7219aba9b28bc3cb (diff)
net: split out functions related to registering inflight socket files
We need this functionality for the io_uring file registration, but we cannot rely on it since CONFIG_UNIX can be modular. Move the helpers to a separate file, that's always builtin to the kernel if CONFIG_UNIX is m/y. No functional changes in this patch, just moving code around. Reviewed-by: Hannes Reinecke <> Acked-by: David S. Miller <> Signed-off-by: Jens Axboe <>
Diffstat (limited to 'net/Makefile')
1 files changed, 1 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile
index bdaf53925acd..449fc0b221f8 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -18,7 +18,7 @@ obj-$(CONFIG_NETFILTER) += netfilter/
obj-$(CONFIG_INET) += ipv4/
obj-$(CONFIG_TLS) += tls/
obj-$(CONFIG_XFRM) += xfrm/
-obj-$(CONFIG_UNIX) += unix/
+obj-$(CONFIG_UNIX_SCM) += unix/
obj-$(CONFIG_NET) += ipv6/
obj-$(CONFIG_BPFILTER) += bpfilter/
obj-$(CONFIG_PACKET) += packet/