kernel: fix dependencies of the sock_diag debloat patch (#20544)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46997
This commit is contained in:
Felix Fietkau 2015-09-18 09:05:01 +00:00
parent 6c018c2f5e
commit 708c58c1a7
2 changed files with 40 additions and 0 deletions

View file

@ -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.

View file

@ -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.