kernel: fix dependencies of the sock_diag debloat patch (#20544)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 18 Sep 2015 09:05:01 +0000 (09:05 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 18 Sep 2015 09:05:01 +0000 (09:05 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46997 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/generic/patches-3.18/901-debloat_sock_diag.patch
target/linux/generic/patches-4.1/901-debloat_sock_diag.patch

index d172d1b..99f23a0 100644 (file)
        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.
index 9208d6b..0716169 100644 (file)
        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.