aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.1/901-debloat_sock_diag.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-18 09:05:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-18 09:05:01 +0000
commitbb3ecd5c0a18357436677653d7be72edbb808ef4 (patch)
tree16902905e30913f1d66815651a696b888234a0da /target/linux/generic/patches-4.1/901-debloat_sock_diag.patch
parentb1d98f4c4539790989dbfbdcef051607f8bcc014 (diff)
downloadmaster-187ad058-bb3ecd5c0a18357436677653d7be72edbb808ef4.tar.gz
master-187ad058-bb3ecd5c0a18357436677653d7be72edbb808ef4.tar.bz2
master-187ad058-bb3ecd5c0a18357436677653d7be72edbb808ef4.zip
kernel: fix dependencies of the sock_diag debloat patch (#20544)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46997 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-4.1/901-debloat_sock_diag.patch')
-rw-r--r--target/linux/generic/patches-4.1/901-debloat_sock_diag.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/generic/patches-4.1/901-debloat_sock_diag.patch b/target/linux/generic/patches-4.1/901-debloat_sock_diag.patch
index 9208d6bfc9..071616942f 100644
--- a/target/linux/generic/patches-4.1/901-debloat_sock_diag.patch
+++ b/target/linux/generic/patches-4.1/901-debloat_sock_diag.patch
@@ -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.