ramips: fix cd-poll sd card remove randomly
[openwrt/openwrt.git] / target / linux / generic / patches-3.18 / 901-debloat_sock_diag.patch
index af41da703234418d3f93764ae6d4412cf0a51728..99f23a027e286db4b8bc34bcece7b32ac15a786c 100644 (file)
@@ -1,6 +1,6 @@
 --- a/net/Kconfig
 +++ b/net/Kconfig
-@@ -83,6 +83,9 @@ source "net/netlabel/Kconfig"
+@@ -89,6 +89,9 @@ source "net/netlabel/Kconfig"
  
  endif # if INET
  
        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.