]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Network Drop Monitor: Adding Build changes to enable drop monitor
authorNeil Horman <nhorman@tuxdriver.com>
Wed, 11 Mar 2009 09:53:16 +0000 (09:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Mar 2009 19:09:29 +0000 (12:09 -0700)
Network Drop Monitor: Adding Build changes to enable drop monitor

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
 include/linux/Kbuild |    1 +
 net/Kconfig          |   11 +++++++++++
 net/core/Makefile    |    1 +
 3 files changed, 13 insertions(+)
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/Kbuild
net/Kconfig
net/core/Makefile

index 106c3ba50844459b463c4fcaea0cad40a9baf026..e9581fd9fb66b45499a5e4b490ea301b50f2405e 100644 (file)
@@ -115,6 +115,7 @@ header-y += mqueue.h
 header-y += mtio.h
 header-y += ncp_no.h
 header-y += neighbour.h
+header-y += net_dropmon.h
 header-y += netfilter_arp.h
 header-y += netrom.h
 header-y += nfs2.h
index 6b39ede3b1b12e8250efc3f5f13bdb46dc391969..c9fdcd7e71eab913219da48327aba0fef49e477a 100644 (file)
@@ -222,6 +222,17 @@ config NET_TCPPROBE
        To compile this code as a module, choose M here: the
        module will be called tcp_probe.
 
+config NET_DROP_MONITOR
+       boolean "Network packet drop alerting service"
+       depends on INET && EXPERIMENTAL && TRACEPOINTS
+       ---help---
+       This feature provides an alerting service to userspace in the
+       event that packets are discarded in the network stack.  Alerts
+       are broadcast via netlink socket to any listening user space
+       process.  If you don't need network drop alerts, or if you are ok
+       just checking the various proc files and other utilities for
+       drop statistics, say N here.
+
 endmenu
 
 endmenu
index d47092bc525c5666e716c481fa0edb16d980a83c..796f46eece5f18b3843e5d75942ef27318dc1b4a 100644 (file)
@@ -18,4 +18,5 @@ obj-$(CONFIG_NETPOLL) += netpoll.o
 obj-$(CONFIG_NET_DMA) += user_dma.o
 obj-$(CONFIG_FIB_RULES) += fib_rules.o
 obj-$(CONFIG_TRACEPOINTS) += net-traces.o
+obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o