[openwrt/openwrt] kernel: add MultiPath TCP diag kernel module
LEDE Commits
lede-commits at lists.infradead.org
Sat Oct 26 11:18:03 PDT 2024
dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a2aabc9a7a4ec8a66477fbdde84a73b5942b460e
commit a2aabc9a7a4ec8a66477fbdde84a73b5942b460e
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat Oct 26 01:35:29 2024 +0100
kernel: add MultiPath TCP diag kernel module
Add INET diag socket monitoring interface module for MultiPath TCP.
It allows using native Linux socket diagnostic tools such as 'ss' for
Multipath TCP connections.
Co-authored-by: Rodrigo B. de Sousa Martins <rodrigo.sousa.577 at gmail.com>
Signed-off-by: sKy King <29267720+sKyissKy at users.noreply.github.com>
Link: https://github.com/openwrt/openwrt/pull/12884
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
package/kernel/linux/modules/netsupport.mk | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 02d8329720..9f349d34ee 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -1494,6 +1494,23 @@ endef
$(eval $(call KernelPackage,inet-diag))
+define KernelPackage/inet-mptcp-diag
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=INET diag support for MultiPath TCP
+ DEPENDS:=@KERNEL_MPTCP +kmod-inet-diag
+ KCONFIG:=CONFIG_INET_MPTCP_DIAG
+ FILES:=$(LINUX_DIR)/net/mptcp/mptcp_diag.ko
+ AUTOLOAD:=$(call AutoProbe,mptcp_diag)
+endef
+
+define KernelPackage/inet-mptcp-diag/description
+Support for INET (MultiPath TCP) socket monitoring interface used by
+native Linux tools such as ss.
+endef
+
+$(eval $(call KernelPackage,inet-mptcp-diag))
+
+
define KernelPackage/xdp-sockets-diag
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=PF_XDP sockets monitoring interface support for ss utility
More information about the lede-commits
mailing list