From patchwork Fri Oct 12 12:36:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 148761 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp683889lji; Fri, 12 Oct 2018 05:37:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV60T9pi63DTz5osMLHTZuNJBLZ+W3Dco/wRL0X9IOpdx43r8pcBws8wvjTo0pbxJTt0h38Pq X-Received: by 2002:a63:e943:: with SMTP id q3-v6mr5363564pgj.42.1539347820166; Fri, 12 Oct 2018 05:37:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539347820; cv=none; d=google.com; s=arc-20160816; b=ikwVOS7uBEPpmD6YxQMc3dSv7tT5q+5OZ0JWDmM48JUeO98oAVwxgCnjKsaQQWpGaI bU0VK+GrAdVvLE5JH86e3Qlg28F0MZMtVS0BGNgQk+tfi6eqo8CvnDpTxsxj4uvtC3oi CjjHjHgdqaQS42uCJLvBTyLhThilOE46IuolDmXNjnqJ9XUf6NqWRJt1Ueh5QIj8ZOQl T+iUOcxuqQL7LkspavoV9/x0IQMklVl7JxT2Funbdwgv3LUQKUc5a10PoP0bk20Q7Vo5 6fI6Hjd31oEqghw/2yPNIM4zHp2m9HbyfFLScejehrObDZvD1RAOObivA29ElbuOCQ72 XzJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=5CFVFWS1nyJQ7n4P2+Qb1swfNF6K/t7j6ZPovxt7zu4=; b=uJQ6WG7QkbXtuTf5oadiu8hL9k9Tqbuq2MnGJwuAOjBhkIQQ0cXlZU7TP4EoIg1atV lqOt/mLY8LEPQu039Gqa+st8Kb9kn0AUKr40RbfXeKV7L+yenA/IKrlTH5fmKpQWSYw+ ANP/1KFpKSyPRC/f1ahp3jBN2gHcYx9Z25Cn/mdAkcFm42VUugvuU3RATcyf2Bm6czeB JvER0zvclYuZaD8eF330ObsV6heQKPlnJylVmgTQKo6A+7YOWVYCBHx1zuv8Q7bvjsqu 95i1vEB9ltQ+Eu0fB6lgQ11Kvc5+uhaMY8zR3VOc2YQN1vUL8peXY2TcI6GOSUyy0KMj e46w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 66-v6si1264945pla.180.2018.10.12.05.36.59; Fri, 12 Oct 2018 05:37:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728664AbeJLUJO (ORCPT + 32 others); Fri, 12 Oct 2018 16:09:14 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:42447 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727816AbeJLUJO (ORCPT ); Fri, 12 Oct 2018 16:09:14 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1MkHEN-1fmvXH0NYH-00kjiN; Fri, 12 Oct 2018 14:36:26 +0200 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1MkHEN-1fmvXH0NYH-00kjiN; Fri, 12 Oct 2018 14:36:26 +0200 From: Arnd Bergmann To: David Howells , "David S. Miller" Cc: Arnd Bergmann , linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH] rxrpc: add IPV6 dependency Date: Fri, 12 Oct 2018 14:36:16 +0200 Message-Id: <20181012123624.2001922-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:WiIoDQenrtwnN8/kruEhqVqt3WvjVX8hBGlzPW+ibnSxKcWWORU q/K+Imdji6+eIif0nccNt/CQqlnsIeXRumVPn8KJr+ZomSW8vbFgqWxP/V/DzT2uDbNsyML BohbWlXWhM3D7uOca4FdLliF8Eli0lh+7yNq8vBxsG/ePcbHc6sIAnzh1ElyGZrG4WQ/fsz qB0Ml3X9A98JJfHzi2lsQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V01:K0:ctqIcyHsFxo=:1x2Ey0dhd7ka+FpwJo/xSY vwuM/0hcOrjQ39zsQBXQLJBKBa6ZPjdIdNRxInnRxU99jI7slsgwAKmNVFCfvC64FOI/M8p1B FGb8r/r0pfM8H9NCnzpu32buuXeUASpUGvoQqtVxgFknOizSIusCMhMCDEEDXfblQC2wFk6ck tFd+mRJYYLhExLp7rVU8pAEZYPw26NJDRzuPQy8wGBjtrgaB5hCf1r2HCtwzJAIGI17BYhWVv kc2DRP+Xg+HhyykWba7pqYcEsQFl7SDU0d37IJxuCy9zDqlrwRsJ/J02WEvhl3Tb9YlWEclT2 k2naRrwFm8Rd1eCR7C6QKduRfBaytwKZ+G+E+vAnn9WXW4eoAls64/brB4kctMc5uAxLyZ4zt f/Dwx++L5ttyaM8UodoFuKop+YNaEYdAvSlF/pGxUgMRXegk4AARr4qeL08h7ijvm7bZq4niP 7MXW9QwTOMUUBd3abUJJLgT7BQPhCuKG1pKBCxaXmWEyJiPBoLfHAmEgb1RjoxYapUDXynRzI Mv09NEVmHKe/6nizYmuZls0kxthkqbuYbwIV8NMSRFejvkDjPYJ2PqJlSWbi0lK9fpRzcYaBj zimE6SRgGWkdzumbDal9/LCqtMDQevlQecJr/Cjy2M/mRcNA6Oo/KtHQTLw6LSecT5iER/TUD r3ZMoDdmz5lz+h1tddhVDkdzd/imm1DltA0z3xfmOCR8d+2cmUV3sJN6Lbo+Qg9IzzX8= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The udpv6_encap_enable() function is part of the ipv6 code, and if that is configured as a loadable module, rxcpc cannot be built-in any more: net/rxrpc/local_object.o: In function `rxrpc_lookup_local': local_object.c:(.text+0x2688): undefined reference to `udpv6_encap_enable' Add a dependency that allows building rxrpc with or without IPv6, but that disallows the broken configuration. Since AFS selects RXRPC, this needs the same dependency. Fixes: 5271953cad31 ("rxrpc: Use the UDP encap_rcv hook") Signed-off-by: Arnd Bergmann --- fs/afs/Kconfig | 1 + net/rxrpc/Kconfig | 1 + 2 files changed, 2 insertions(+) -- 2.18.0 diff --git a/fs/afs/Kconfig b/fs/afs/Kconfig index ebba3b18e5da..e2cad2c9d9d8 100644 --- a/fs/afs/Kconfig +++ b/fs/afs/Kconfig @@ -1,6 +1,7 @@ config AFS_FS tristate "Andrew File System support (AFS)" depends on INET + depends on IPV6 || !IPV6 select AF_RXRPC select DNS_RESOLVER help diff --git a/net/rxrpc/Kconfig b/net/rxrpc/Kconfig index 86f8853a038c..d925be00fc74 100644 --- a/net/rxrpc/Kconfig +++ b/net/rxrpc/Kconfig @@ -5,6 +5,7 @@ config AF_RXRPC tristate "RxRPC session sockets" depends on INET + depends on IPV6 || !IPV6 select CRYPTO select KEYS help