[openwrt/openwrt] kernel: Add kmod-sctp-diag
LEDE Commits
lede-commits at lists.infradead.org
Wed Jul 3 04:11:23 PDT 2024
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4cc69a65420fd6c8f9af7e39b4d80694ea679a4d
commit 4cc69a65420fd6c8f9af7e39b4d80694ea679a4d
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Jun 29 18:28:40 2024 +0200
kernel: Add kmod-sctp-diag
Package the sctp_diag.ko file which already gets build when kmod-sctp
and kmod-inet-diag are selected.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
Link: https://github.com/openwrt/openwrt/pull/15833
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
package/kernel/linux/modules/netsupport.mk | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index e56defad38..00dfb98d79 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -1245,6 +1245,18 @@ endef
$(eval $(call KernelPackage,sctp))
+define KernelPackage/sctp-diag
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=SCTP diag support
+ DEPENDS:=+kmod-sctp +kmod-inet-diag
+ KCONFIG:=CONFIG_INET_SCTP_DIAG
+ FILES:= $(LINUX_DIR)/net/sctp/sctp_diag.ko
+ AUTOLOAD:= $(call AutoLoad,33,sctp_diag)
+endef
+
+$(eval $(call KernelPackage,sctp-diag))
+
+
define KernelPackage/netem
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Network emulation functionality
More information about the lede-commits
mailing list