Author: nbd Date: 2015-09-18 11:05:01 +0200 (Fri, 18 Sep 2015) New Revision: 46997
Modified: trunk/target/linux/generic/patches-3.18/901-debloat_sock_diag.patch trunk/target/linux/generic/patches-4.1/901-debloat_sock_diag.patch Log: kernel: fix dependencies of the sock_diag debloat patch (#20544) Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/target/linux/generic/patches-3.18/901-debloat_sock_diag.patch =================================================================== --- trunk/target/linux/generic/patches-3.18/901-debloat_sock_diag.patch 2015-09-17 17:21:16 UTC (rev 46996) +++ trunk/target/linux/generic/patches-3.18/901-debloat_sock_diag.patch 2015-09-18 09:05:01 UTC (rev 46997) @@ -43,3 +43,23 @@ default n ---help--- Support for UNIX socket monitoring interface used by the ss tool. +--- a/net/netlink/Kconfig ++++ b/net/netlink/Kconfig +@@ -13,6 +13,7 @@ config NETLINK_MMAP + + config NETLINK_DIAG + tristate "NETLINK: socket monitoring interface" ++ select SOCK_DIAG + default n + ---help--- + Support for NETLINK socket monitoring interface used by the ss tool. +--- a/net/packet/Kconfig ++++ b/net/packet/Kconfig +@@ -18,6 +18,7 @@ config PACKET + config PACKET_DIAG + tristate "Packet: sockets monitoring interface" + depends on PACKET ++ select SOCK_DIAG + default n + ---help--- + Support for PF_PACKET sockets monitoring interface used by the ss tool. Modified: trunk/target/linux/generic/patches-4.1/901-debloat_sock_diag.patch =================================================================== --- trunk/target/linux/generic/patches-4.1/901-debloat_sock_diag.patch 2015-09-17 17:21:16 UTC (rev 46996) +++ trunk/target/linux/generic/patches-4.1/901-debloat_sock_diag.patch 2015-09-18 09:05:01 UTC (rev 46997) @@ -43,3 +43,23 @@ default n ---help--- Support for UNIX socket monitoring interface used by the ss tool. +--- a/net/netlink/Kconfig ++++ b/net/netlink/Kconfig +@@ -13,6 +13,7 @@ config NETLINK_MMAP + + config NETLINK_DIAG + tristate "NETLINK: socket monitoring interface" ++ select SOCK_DIAG + default n + ---help--- + Support for NETLINK socket monitoring interface used by the ss tool. +--- a/net/packet/Kconfig ++++ b/net/packet/Kconfig +@@ -18,6 +18,7 @@ config PACKET + config PACKET_DIAG + tristate "Packet: sockets monitoring interface" + depends on PACKET ++ select SOCK_DIAG + default n + ---help--- + Support for PF_PACKET sockets monitoring interface used by the ss tool. _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
