From patchwork Thu Jan 14 15:24:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Salvaterra X-Patchwork-Id: 1426441 X-Patchwork-Delegate: mail@aparcar.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=n3/KtKZv; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=mDtjshgV; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DGp9275FQz9sVX for ; Fri, 15 Jan 2021 02:27:50 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ReB+WRbEcVD1cygyBX+jzE3FcF66PWyW6lCmSJRu9XE=; b=n3/KtKZvhxdJeI5cgwxsWTp7VH O/sjlQ7WIoWWjzaNQEQGFIb31g8hVPKfV/tqb/uiwh6R1SSpJBvtBMOkQQeobZKLQCkclm0uIEwIU 1QyzsuF69/K0a98eeUNa77V9+QTgNu+SCMMyF1zi7yoiiUnCuRXxS9ja6nFEeKB0jK0RLgvrB2HjE GuKiNx37McA2u98M9AequNu6oye4IgW1bJ/33VkKMDe9Y0ictIgPDEGz7yl6c23YeXfN0nnPRjx0/ mtnWNUyOpxNODaF3A5FvTgZY7N5cysyhtlJ2MuvNi85d4TqyuuVr0oyCDiPFGTo8L5AzXZZyrGjHA xaBLGIHA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l04Up-00017U-Jz; Thu, 14 Jan 2021 15:25:11 +0000 Received: from mail-qv1-xf31.google.com ([2607:f8b0:4864:20::f31]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l04Un-00016D-GU for openwrt-devel@lists.openwrt.org; Thu, 14 Jan 2021 15:25:10 +0000 Received: by mail-qv1-xf31.google.com with SMTP id a1so2412099qvd.13 for ; Thu, 14 Jan 2021 07:25:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2MjJ7C7nvkTTf7EES+dM2fQVbp92fhxDPkyg+BEHpU4=; b=mDtjshgVDp8sgGGkFk4QihSz+hdqCMHGyXOcO3Ye75uxGfHZmNRqgdsY80s2VqOXmG lY2mAa3MCyUJ+Wfj3wC+QvDB0cAYE9VjlPWG67RaeAkfKGUmnyYdX6/lc+20h1gGrUCQ +L+iMLlVBYfBTrs44xIQcdw5t5ZvoYWWJP9NtLEeMEiK9R9GjzZzNw3YPAXZ9q/WgUpm yM32g5xaOfAkfQ+G8c+VBxQUfYoVlc/JxNT58dt6g1AARBnwp/bjBgB99JrMqGMcaFHa NcFq5Mlq5qo7DqngqIUMMHNArOAg+fxp+ujeFcYA7ep0YH041gnr/eo97i+2fIu6EjeN SULw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2MjJ7C7nvkTTf7EES+dM2fQVbp92fhxDPkyg+BEHpU4=; b=HBB9ErYoB1/DQCq2w2L4c7eg/9XfJyXrjA/m7TVGo65XWKOK6+GQfxpx4/I7kuaXIM PQHNoCMnmqNnYFuz2rmPF7aRwDHX39fB7Nl8ztTNddCWcjkTmWgdmK5yLwzxKjJF7ZhS CJTxcNRsD7kBng7S4fbrfDprP2v9mBt2pWmsDKIgqyurTsmj6Hy6LR7HB0kfaRkbj9QV ckbJu8aqhFw4SXmIK3J1VtdklpWgSemZmSHMFzfz8/SE+1dVt54jzN8G+7kRU0IosVVM V/wsofroqr4FfzmICzIteWm+cDGdD13CM3EXFM8eBEXNcRx+4PozMsvEJlIU45VgactQ eTIQ== X-Gm-Message-State: AOAM532buHp3XWSrg25qWuweSxHlZt9oEbTnKF2chIvzzZBdppqywpIo sYjJfkZHnhetdQmQW2tSOUf1C0AuFA== X-Google-Smtp-Source: ABdhPJy8qYa+5hJi1S+5DDQIcCzpal+6z4Mt/cuYhlhciI5ntXFcNJqG45zO6dwyo6+PGTojTx4XUA== X-Received: by 2002:a0c:ac44:: with SMTP id m4mr7336647qvb.45.1610637905908; Thu, 14 Jan 2021 07:25:05 -0800 (PST) Received: from presler.lan (a109-49-4-1.cpe.netcabo.pt. [109.49.4.1]) by smtp.gmail.com with ESMTPSA id k26sm3068689qtb.41.2021.01.14.07.25.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 07:25:05 -0800 (PST) From: Rui Salvaterra To: openwrt-devel@lists.openwrt.org Subject: [PATCH] kernel: make lwtunnel support optional Date: Thu, 14 Jan 2021 15:24:58 +0000 Message-Id: <20210114152459.16631-1-rsalvaterra@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210114_102509_571477_746FC7A9 X-CRM114-Status: UNSURE ( 8.61 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:f31 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rsalvaterra[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rui Salvaterra , vincent@systemli.org Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Not everyone will want to bloat their kernel by 24 kiB for such a niche feature. Fixes: a1a7f3274e0ed27511d45f62ee20281d8d57c7af "kernel: enable SRv6 support by enabling lwtunnel" Signed-off-by: Rui Salvaterra --- config/Config-kernel.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index d99ce44c0d..8a78e297cb 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -975,9 +975,10 @@ if KERNEL_IPV6 def_bool n config KERNEL_IPV6_SEG6_LWTUNNEL - def_bool y if !SMALL_FLASH + bool "Enable support for lightweight tunnels" + default y if !SMALL_FLASH help - Using lwtunnel requires full-ip package. + Using lwtunnel (needed for IPv6 segment routing) requires ip-full package. config KERNEL_LWTUNNEL_BPF def_bool n