From 06e64f9b364abe15c27bf0a7225fcac740819668 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Tue, 23 May 2023 15:43:14 +0800 Subject: kernel: modules: add xdp-sockets-diag support Support for PF_XDP sockets monitoring interface used by the ss tool. Signed-off-by: Tianling Shen --- target/linux/generic/hack-5.15/901-debloat_sock_diag.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'target/linux/generic/hack-5.15') diff --git a/target/linux/generic/hack-5.15/901-debloat_sock_diag.patch b/target/linux/generic/hack-5.15/901-debloat_sock_diag.patch index ac502bdd16..1f3802aa5b 100644 --- a/target/linux/generic/hack-5.15/901-debloat_sock_diag.patch +++ b/target/linux/generic/hack-5.15/901-debloat_sock_diag.patch @@ -160,3 +160,13 @@ Signed-off-by: Felix Fietkau default n help Support for UNIX socket monitoring interface used by the ss tool. +--- a/net/xdp/Kconfig ++++ b/net/xdp/Kconfig +@@ -10,6 +10,7 @@ config XDP_SOCKETS + config XDP_SOCKETS_DIAG + tristate "XDP sockets: monitoring interface" + depends on XDP_SOCKETS ++ select SOCK_DIAG + default n + help + Support for PF_XDP sockets monitoring interface used by the ss tool. -- cgit v1.2.3