From patchwork Tue Aug 14 09:07:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 144152 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4097220ljj; Tue, 14 Aug 2018 02:08:10 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxvc3tXdHZ4sHa4x52ImyM1KQ9M/pShspuV344SRW6XImc08KSLBrhSLtsRRgwE16spnUF0 X-Received: by 2002:a63:4924:: with SMTP id w36-v6mr20470273pga.143.1534237690797; Tue, 14 Aug 2018 02:08:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534237690; cv=none; d=google.com; s=arc-20160816; b=GaQB4tsusMHAq4FhVqoWVPt6FngVSoEckhJaGuVCzxhTCLodEefDH4wvmuNzCtXQXb 7Kub7+o5Zrocx7D0YlNV1gpfoKMAC7WUa3m4/jKSZgvkjIUvVogvH0hSki7fGnHx7Eq/ H4m5sPjdBnhkIAilGoulM94INgQ+SOdBJGzOEiMQnBspK9Dna99l4xG3Liuwf/+Vux/Z G+HwABk4Y79A462d72rFwU3vbgbMWWkuf/1h/GGE46RiM+s1hiMcE+QULk4hIPFBdssG T2ZhqxV2G26o1qEyPlyZ5WsfByKIQClbS5Y9DgVjfcLTAXmzpchUVsXCoSnVLWf2K8j7 kP5g== 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 :arc-authentication-results; bh=TUbImdDVHQ3EcPwST/pGCw46by9+Y1wKhNDcgPzZ7+o=; b=h3EpUF8zd8iVqv01jrV7dozBP+SxgcU1CWgsj5YrUabSLBpDETgyZhPnsuTm/7XAtj 0vdRMxVNbBzC1gAiqOvPPJgxaF2snLGLYFRPNtiRVl/j11t3bzYx4ok5C5hTJSWTGCNp XHEKa/sShQJ4uZInwDa7IVd5GnjiCChJh38UiM7doO0l4PdFQK69OHWxb2DtLe7iAyjD /knMOiG4kMqCM/0EWscJNGn0jTo1Vm8wYjT9WJKoemRcZbDH/4gr7ZcySVyeAMWs3Et7 UB/fcvztaDphVO+pCBTGm0bjlBZbaBcHLpRTsB4oGxPDfJT6Gc49YKTxY2xqh76TnvX2 dsGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 b33-v6si19172278pgb.467.2018.08.14.02.08.10; Tue, 14 Aug 2018 02:08:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-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 netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731370AbeHNLyY (ORCPT + 10 others); Tue, 14 Aug 2018 07:54:24 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:56493 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728978AbeHNLyY (ORCPT ); Tue, 14 Aug 2018 07:54:24 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.129]) with ESMTPA (Nemesis) id 0MVHys-1fNXDo1bf4-00Ygb5; Tue, 14 Aug 2018 11:07:54 +0200 From: Arnd Bergmann To: Santosh Shilimkar , "David S. Miller" Cc: Arnd Bergmann , Anders Roxell , Greg Thelen , Ka-Cheong Poon , Stephen Hemminger , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com, linux-kernel@vger.kernel.org Subject: [PATCH] rds: fix building with IPV6=m Date: Tue, 14 Aug 2018 11:07:42 +0200 Message-Id: <20180814090752.1681486-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:XLnGQc1Ak8KkURlpq7/RmY4jPmXCaWU2eESTXVBiizR39pPgR/Y K5SgtPUgWBL5RkFSQWmaS2mD8JuQt2yuZU11O0M2PVm1pTyniIQOdCmaYTdCEUk9mAC6rWk t/CgdFL1o1jDK19exyfepYlynNEl79qzAtuvMkYB0S1xD3L/eEZjfG6gdK69x+TrLJ4YNoN /Ac0zX073PEEqtZDrz+mg== X-UI-Out-Filterresults: notjunk:1; V01:K0:S+X/Wd2/ZgA=:0rn3zvOHzDTS72sy9aAVaC Zqn6Heyak0diw10Kgx3o7EHD/6l49ZXi0y1/bTRGDYvJzON+LsgJk94BLIHvIH6ze3hZ2jOlI m64T6am8F07B+snqXk1fUMtbqCf68fNDfTwmBqAgNMA9L1QHVIXFRYomLlhzY+K1IAJZNnmgd EEPGlDl3gEwyP55lZjg9/echFyXHuvV20jHrw1rye5hb933XQl0+kRInFuGaaI1YYhz/IqZrZ HvjXoJEkW+Y1+66CmYGWWy0W/O1zv38AjgMuj7ug4enaSlAuN4QPQwh7MSC3KrLoPT4BJ8b5E k8jc2Oiz2O4kqlTwcvHcgHwE4mbxVWtxNMYxEge/8fMQhmCOzC0cJjHaVIeAD8oep1tbYhbNx 3RpCwtTMZ4HLubjDo6qeF2DQGO679O90jIhgvnjNGzqmOeOw0nN8GCZ02MVGYLRFk0ZcU0TU6 AZRKEfkzEHYxUo84rkVoI/GDtWdkgzcZ0yiW5Bs/lwJXi5MypOMUT2f2wUzX43awaTjBkTYN1 tNO/nwAibJgFuJx564dXgmzfs+itAtRjlqlE+h1225CsOgcbGDUb5S/hET58fPJJIJPYs/3ZE tRktfWd/JFYYsd8XMf3geptw048INhwKJXt58wuafPtKpQWO3XVlvhRphLjGzn92Mb9/QUml+ T3pDjTuox9foUm1ijYPsBQOUuCjSC+NXHPiiQp6v7vcxP4aYCSnOle1zWsqrY9YwIxT0= Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org When CONFIG_RDS_TCP is built-in and CONFIG_IPV6 is a loadable module, we get a link error agains the modular ipv6_chk_addr() function: net/rds/tcp.o: In function `rds_tcp_laddr_check': tcp.c:(.text+0x3b2): undefined reference to `ipv6_chk_addr' This adds back a dependency that forces RDS_TCP to also be a loadable module when IPV6 is one. Fixes: e65d4d96334e ("rds: Remove IPv6 dependency") Signed-off-by: Arnd Bergmann --- net/rds/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 diff --git a/net/rds/Kconfig b/net/rds/Kconfig index 41f75563b54b..01b3bd6a3708 100644 --- a/net/rds/Kconfig +++ b/net/rds/Kconfig @@ -16,6 +16,7 @@ config RDS_RDMA config RDS_TCP tristate "RDS over TCP" depends on RDS + depends on IPV6 || !IPV6 ---help--- Allow RDS to use TCP as a transport. This transport does not support RDMA operations.