aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/Kbuild1
-rw-r--r--net/Kconfig11
-rw-r--r--net/core/Makefile1
3 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index 106c3ba50844..e9581fd9fb66 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -115,6 +115,7 @@ header-y += mqueue.h
115header-y += mtio.h 115header-y += mtio.h
116header-y += ncp_no.h 116header-y += ncp_no.h
117header-y += neighbour.h 117header-y += neighbour.h
118header-y += net_dropmon.h
118header-y += netfilter_arp.h 119header-y += netfilter_arp.h
119header-y += netrom.h 120header-y += netrom.h
120header-y += nfs2.h 121header-y += nfs2.h
diff --git a/net/Kconfig b/net/Kconfig
index 6b39ede3b1b1..c9fdcd7e71ea 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -222,6 +222,17 @@ config NET_TCPPROBE
222 To compile this code as a module, choose M here: the 222 To compile this code as a module, choose M here: the
223 module will be called tcp_probe. 223 module will be called tcp_probe.
224 224
225config NET_DROP_MONITOR
226 boolean "Network packet drop alerting service"
227 depends on INET && EXPERIMENTAL && TRACEPOINTS
228 ---help---
229 This feature provides an alerting service to userspace in the
230 event that packets are discarded in the network stack. Alerts
231 are broadcast via netlink socket to any listening user space
232 process. If you don't need network drop alerts, or if you are ok
233 just checking the various proc files and other utilities for
234 drop statistics, say N here.
235
225endmenu 236endmenu
226 237
227endmenu 238endmenu
diff --git a/net/core/Makefile b/net/core/Makefile
index d47092bc525c..796f46eece5f 100644
--- a/net/core/Makefile
+++ b/net/core/Makefile
@@ -18,4 +18,5 @@ obj-$(CONFIG_NETPOLL) += netpoll.o
18obj-$(CONFIG_NET_DMA) += user_dma.o 18obj-$(CONFIG_NET_DMA) += user_dma.o
19obj-$(CONFIG_FIB_RULES) += fib_rules.o 19obj-$(CONFIG_FIB_RULES) += fib_rules.o
20obj-$(CONFIG_TRACEPOINTS) += net-traces.o 20obj-$(CONFIG_TRACEPOINTS) += net-traces.o
21obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o
21 22