From patchwork Thu Apr 30 23:40:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 466774 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 84DAE14075A for ; Fri, 1 May 2015 09:41:04 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id E413D28AE02; Fri, 1 May 2015 01:39:43 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 6DCA028A9A6 for ; Fri, 1 May 2015 01:39:37 +0200 (CEST) X-policyd-weight: using cached result; rate: -7.6 Received: from fudo.makrotopia.org (fudo.makrotopia.org [5.135.190.93]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Fri, 1 May 2015 01:39:35 +0200 (CEST) Received: from local by fudo.makrotopia.org with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1Yny4G-00068K-IE; Fri, 01 May 2015 01:40:38 +0200 Date: Fri, 1 May 2015 01:40:17 +0200 From: Daniel Golle To: openwrt-devel@lists.openwrt.org Message-ID: <20150430234008.GA18428@makrotopia.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Cc: jow@subsignal.org Subject: [OpenWrt-Devel] [PATCH] modules: package l2tp_ip6.ko in kmod-l2tp-ip6 X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" The L2TPv3-over-IPv6 kernel module wasn't included in any package. Create a new package and make it depend on kmod-ipv6 and kmod-l2tp. root@OpenWrt:~# modinfo /lib/modules/3.18.11/l2tp_ip6.ko module: /lib/modules/3.18.11/l2tp_ip6.ko license: GPL depends: ipv6,l2tp_core The module doesn't have a Kconfig symbol of it's own and is being built if both, CONFIG_L2TP_IP and CONFIG_IPV6 are set, see https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a32e0eec7042b21ccb52896cf715e3e2641fed93 Signed-off-by: Daniel Golle --- 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 547e429..799e2dd 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -908,6 +908,21 @@ endef $(eval $(call KernelPackage,l2tp-ip)) +define KernelPackage/l2tp-ip6 + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=L2TP IP6 encapsulation for L2TPv3 + DEPENDS:=+kmod-l2tp +kmod-ipv6 + KCONFIG:=CONFIG_L2TP_IP + FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ip6.ko + AUTOLOAD:=$(call AutoLoad,33,l2tp_ip6) +endef + +define KernelPackage/l2tp-ip6/description + Kernel modules for L2TP IP6 encapsulation for L2TPv3 +endef + +$(eval $(call KernelPackage,l2tp-ip6)) + define KernelPackage/sctp SUBMENU:=$(NETWORK_SUPPORT_MENU)