From: John Audia Date: Fri, 10 Jan 2025 02:22:48 +0000 (-0500) Subject: kernel: add missing symbols for lxc X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=65de1e0f78707695238382ace6a78695acbb8ed8;p=openwrt%2Fstaging%2Fstintel.git kernel: add missing symbols for lxc These symbols are needed to satisfy lxc dependencies. Signed-off-by: John Audia Link: https://github.com/openwrt/openwrt/pull/17553 Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index 06ef823280..20f85c3173 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -1649,3 +1649,21 @@ define KernelPackage/qrtr-mhi/description endef $(eval $(call KernelPackage,qrtr-mhi)) + +define KernelPackage/unix-diag + TITLE:=UNIX socket monitoring interface + KCONFIG:=CONFIG_UNIX_DIAG + FILES:= $(LINUX_DIR)/net/unix/unix_diag.ko + AUTOLOAD:=$(call AutoProbe,unix_diag) +endef + +$(eval $(call KernelPackage,unix-diag)) + +define KernelPackage/packet-diag + TITLE:=Packet sockets monitoring interface + KCONFIG:=CONFIG_PACKET_DIAG + FILES:= $(LINUX_DIR)/net/packet/af_packet_diag.ko + AUTOLOAD:=$(call AutoProbe,af_packet_diag) +endef + +$(eval $(call KernelPackage,packet-diag))