[source] kernel: add nlmon kernel module
LEDE Commits
lede-commits at lists.infradead.org
Fri Sep 16 14:11:43 PDT 2016
hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/0109ed87d9a7875d21766cf410a218adfa61a8e4
commit 0109ed87d9a7875d21766cf410a218adfa61a8e4
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Mon Sep 12 22:45:47 2016 +0200
kernel: add nlmon kernel module
This driver allows to monitor netlink communication on the system.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/linux/modules/netsupport.mk | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index e52dab6..587229d 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -1041,3 +1041,18 @@ define KernelPackage/9pnet/description
endef
$(eval $(call KernelPackage,9pnet))
+
+
+define KernelPackage/nlmon
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=Virtual netlink monitoring device
+ KCONFIG:=CONFIG_NLMON
+ FILES:=$(LINUX_DIR)/drivers/net/nlmon.ko
+ AUTOLOAD:=$(call AutoProbe,nlmon)
+endef
+
+define KernelPackage/nlmon/description
+ Kernel module which adds a monitoring device for netlink.
+endef
+
+$(eval $(call KernelPackage,nlmon))
More information about the lede-commits
mailing list