Commit 273ae44b authored by Neil Horman's avatar Neil Horman Committed by David S. Miller

Network Drop Monitor: Adding Build changes to enable drop monitor

Network Drop Monitor: Adding Build changes to enable drop monitor
Signed-off-by: default avatarNeil Horman <nhorman@tuxdriver.com>

 include/linux/Kbuild |    1 +
 net/Kconfig          |   11 +++++++++++
 net/core/Makefile    |    1 +
 3 files changed, 13 insertions(+)
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9a8afc8d
...@@ -115,6 +115,7 @@ header-y += mqueue.h ...@@ -115,6 +115,7 @@ header-y += mqueue.h
header-y += mtio.h header-y += mtio.h
header-y += ncp_no.h header-y += ncp_no.h
header-y += neighbour.h header-y += neighbour.h
header-y += net_dropmon.h
header-y += netfilter_arp.h header-y += netfilter_arp.h
header-y += netrom.h header-y += netrom.h
header-y += nfs2.h header-y += nfs2.h
......
...@@ -222,6 +222,17 @@ config NET_TCPPROBE ...@@ -222,6 +222,17 @@ config NET_TCPPROBE
To compile this code as a module, choose M here: the To compile this code as a module, choose M here: the
module will be called tcp_probe. 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
endmenu endmenu
......
...@@ -18,4 +18,5 @@ obj-$(CONFIG_NETPOLL) += netpoll.o ...@@ -18,4 +18,5 @@ obj-$(CONFIG_NETPOLL) += netpoll.o
obj-$(CONFIG_NET_DMA) += user_dma.o obj-$(CONFIG_NET_DMA) += user_dma.o
obj-$(CONFIG_FIB_RULES) += fib_rules.o obj-$(CONFIG_FIB_RULES) += fib_rules.o
obj-$(CONFIG_TRACEPOINTS) += net-traces.o obj-$(CONFIG_TRACEPOINTS) += net-traces.o
obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment