Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp790966imm; Fri, 27 Jul 2018 06:14:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdpU18awCOLe+vn0+FeMljAm+mLAj0M7XTg6x7+DWnBWeoyDHnPZgKDt/zBiEYT2ySPj1KV X-Received: by 2002:aa7:824d:: with SMTP id e13-v6mr6616666pfn.97.1532697262222; Fri, 27 Jul 2018 06:14:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532697262; cv=none; d=google.com; s=arc-20160816; b=IxlaC8n8P0KGSruaUKgwnRRn3bdEiqvZKXkpNwZlxC6RNpPv8MqZ/Lt8POJZag2fNO wVDtnStDJ2B1oT5B7cNMqTKCmcCQUvDnN8INm8ivGWhgDaQjVHhfpfFlHEkv3PTB8MEL 2m4OgQHi7azTyYuP/7/6gXrb1uOUwrrcFCdV2Z9m1sRkBzPzao+Psbu35wkIFqudR22A znELD69jZBbD1DH+nBbt+fydgMpDuuVi3J7uh+RhYFkDR1lN6SOZGCIYPNjj5rl3+3b0 63sbJwwe5+AOD8uTD3BD2s7/USE1vNn0CkJjrT4ierWAIAtVzkvCj/oXhts5WPc99jsk zL5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:arc-authentication-results; bh=VYLq1MFx6VmVRPVY6LVuaxQpS1GhjNQH+/DSyY4aH5s=; b=QI/t/fIorK70ciS1JmiRIIYfRBtzyGrcdNgAnDEi4nJHR5Do1OlbrU4EnG2UUgue2e MN2W2hYCT0LnVGouqDlJ8OgTecKKlU1WwwID8+wzmiZhSfgvti/530IGJ4zQfKV+vAAw +VhKSP204G823POxQOv9rUBObhIlBWFC00ALp2duccjBElCXSs6dAD8uLm73R6EGLJIK Ua5X4tntGpxKuy4GkZSi6mhcVXlaYN5qkHRtOFEQv2/SxiO6+wwVwL7LKNjTCcgSz3UO BGgiD1nHqtRmxjr5+lDIhWupnavX+DtuAgHLOoLXVlgqLAg3Dkcg6q3tYnmsmRPp/T6H LiKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S2ANPBtw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j11-v6si3391414plk.513.2018.07.27.06.14.07; Fri, 27 Jul 2018 06:14:22 -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; dkim=pass header.i=@linaro.org header.s=google header.b=S2ANPBtw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730981AbeG0Ods (ORCPT + 99 others); Fri, 27 Jul 2018 10:33:48 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:38268 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730562AbeG0Ods (ORCPT ); Fri, 27 Jul 2018 10:33:48 -0400 Received: by mail-yb0-f193.google.com with SMTP id i9-v6so1971388ybo.5 for ; Fri, 27 Jul 2018 06:11:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=VYLq1MFx6VmVRPVY6LVuaxQpS1GhjNQH+/DSyY4aH5s=; b=S2ANPBtwSEGoRsoymc1J/LusMaQO96mKauTn3x9N2w7iIt5up06mQCyFrvJrZuSy3X 65t8mpd3aijrZZ2naRID1/iB5M2uK+t4eX7+fAFCY94+BhwipHyakCibdhgL7FS8nb2X lUEq+j5C766j4/HilwEZYlXOzFoM1ElGglJaA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=VYLq1MFx6VmVRPVY6LVuaxQpS1GhjNQH+/DSyY4aH5s=; b=ojAFqrRixPnx/2hF0bRz20rYWyIcQt5pCeQ8+ZYpo8kGBzt9pmRntEkyPmSYqYgsg6 QEWpK48IxTtivXaGMOtQt20Fq/slLC5vO4f1w+7Uko0lG9K5NyZaXBQKF5Cy4koi0y1E 3G2NmuMa1g3CTfYoFXXnQRNjNep8yi7+mYCjkqIQsp/eA9iZR7pEAv1R+nQJb/XMqkMn 74GAuFD8RCOTuDiV5+5qMx0ZYZooskTpUQBbcqbQLSuPjWx/FLcKLE7bQuwQTvy8dpaH AKdQhC6jy4zCxUuxCq2vXW174UQKdw0G3lwozXM9xmAsitbs/AqwA7vrdzZftqDE+pKc nZLA== X-Gm-Message-State: AOUpUlEJuNhsBIHRt4DIAjmTUOQnEuqgIoKWa4kMZRk+9prCYxRYEXb4 cxSr0ciONe3z6T7kxLPGPjnJ3lu3Or5aBmyy2l/tFQ== X-Received: by 2002:a25:2bc4:: with SMTP id r187-v6mr3298718ybr.377.1532697115794; Fri, 27 Jul 2018 06:11:55 -0700 (PDT) MIME-Version: 1.0 References: <20180725222008.32186-1-anders.roxell@linaro.org> <68f68676-0d91-125f-5697-31cc459ab24e@gmail.com> In-Reply-To: <68f68676-0d91-125f-5697-31cc459ab24e@gmail.com> From: Anders Roxell Date: Fri, 27 Jul 2018 15:11:44 +0200 Message-ID: Subject: Re: [PATCH] net/rds/Kconfig: RDS should depend on IPV6 To: eric.dumazet@gmail.com Cc: David Miller , Santosh Shilimkar , ka-cheong.poon@oracle.com, Networking , linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 27 Jul 2018 at 13:52, Eric Dumazet wrote: > > > > On 07/25/2018 03:20 PM, Anders Roxell wrote: > > Build error, implicit declaration of function __inet6_ehashfn shows up > > When RDS is enabled but not IPV6. > > net/rds/connection.c: In function =E2=80=98rds_conn_bucket=E2=80=99: > > net/rds/connection.c:67:9: error: implicit declaration of function =E2= =80=98__inet6_ehashfn=E2=80=99; did you mean =E2=80=98__inet_ehashfn=E2=80= =99? [-Werror=3Dimplicit-function-declaration] > > hash =3D __inet6_ehashfn(lhash, 0, fhash, 0, rds_hash_secret); > > ^~~~~~~~~~~~~~~ > > __inet_ehashfn > > > > Current code adds IPV6 as a depends on in config RDS. > > > > Fixes: eee2fa6ab322 ("rds: Changing IP address internal representation = to struct in6_addr") > > Signed-off-by: Anders Roxell > > --- > > net/rds/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/net/rds/Kconfig b/net/rds/Kconfig > > index 41f75563b54b..607128f10bcd 100644 > > --- a/net/rds/Kconfig > > +++ b/net/rds/Kconfig > > @@ -1,7 +1,7 @@ > > > > config RDS > > tristate "The RDS Protocol" > > - depends on INET > > + depends on INET && CONFIG_IPV6 > > You probably meant : > > depends on INET && IPV6 Hmm... Yes, I'll send out a new patch to fix it. I'm sorry. Cheers, Anders > > > > ---help--- > > The RDS (Reliable Datagram Sockets) protocol provides reliable, > > sequenced delivery of datagrams over Infiniband or TCP. > >