From 4cc69a65420fd6c8f9af7e39b4d80694ea679a4d Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 29 Jun 2024 18:28:40 +0200 Subject: [PATCH] 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 Link: https://github.com/openwrt/openwrt/pull/15833 Signed-off-by: Christian Marangi --- 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 e56defad38c..00dfb98d79f 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