Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2667859imm; Wed, 3 Oct 2018 07:27:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV60TQ7u3gy+4GXs6i7fJX2RuzOZNVi073myFpD3sXhYRJ4HjA4KaRFz5YV72vWK/1P6ONb0B X-Received: by 2002:a63:7044:: with SMTP id a4-v6mr1617455pgn.63.1538576828352; Wed, 03 Oct 2018 07:27:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538576828; cv=none; d=google.com; s=arc-20160816; b=QIGGngRvMLKjyhwkJMZgWWRMZaa8BrCEC4zqrwetLpjSUFfHIKmIss9QPNmJWT4yxu VpDBQZgDRyha2cAPtc7ncmP+GWv7kuJcVEBVaRb1ArU/Jg7yBDH2jSrXnpeIUexbBmWw Ys+lWHC0olp5T8wDcjGDhNPBjRGmAHsSW37H2mD+yLk9lM5UmEvZiQgTOdX+8tzZmObk 5y+Uiaj5g+ZRLcVkGVcf6/OVcBebN3n0O4wBgAfIp/HOrL5n23khFMry0OaXKtnUzIBM R6s9jjL7tmu8fbb7AlMHlAoHu5Tu+Gsyst+Plw7WzMTHmo3+bhWc/YQkeMhmPYVll7eh n0sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=Oc5qd/SkqSI1+NPCnZbx8S/CvNmLxGH9uT1b+pGn1BM=; b=N5tOj+mvA0wsmykYtPt3HYHm+6jSDCu3+bdYlB1V9lc3ithhM4uIBTjE0OiSncLsrx bsWt8Xww1DpRxmRABc/QvzbixJizgCLtc9zdivZMVir7JWD1MMvLhlJET0TDffvcTDk+ MV+a+DCPqUx7mtmqKGB855WrGmcE2Z+EN9E99aS3hN4h2ewf03/BcaZHYwfgbhBbbl/s Tthm+M0CrpInuiXDEhfOz/sf2RwAR14n06iq+02Zc0YcoUH01HbQfw0NAstXlviLiEt1 +wpZ1VDuk3TCbwaR9Y4mJndwvUhZ2QKCCRruF1DA5OAIgnKUhRQM5Qud9TvqpRNPC76z MD5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QCwSZ8tV; 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 j20-v6si1413815pgh.535.2018.10.03.07.26.53; Wed, 03 Oct 2018 07:27:08 -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=QCwSZ8tV; 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 S1727319AbeJCVOa (ORCPT + 99 others); Wed, 3 Oct 2018 17:14:30 -0400 Received: from mail-it1-f194.google.com ([209.85.166.194]:52336 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727273AbeJCVOa (ORCPT ); Wed, 3 Oct 2018 17:14:30 -0400 Received: by mail-it1-f194.google.com with SMTP id 134-v6so8554152itz.2 for ; Wed, 03 Oct 2018 07:25:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Oc5qd/SkqSI1+NPCnZbx8S/CvNmLxGH9uT1b+pGn1BM=; b=QCwSZ8tVdu6exAHPaoSz03RPB2Dg6ZupN+CVB8iWthQvnJyP49Aet8rtqTIl9d+QB9 M2R8hScdaVksMq1VLXKEYADYw3UCP99r+tUGP/fUGFj2v+Tlz9PLb5pQy8Bs6gMIbSkh BaSlq9B2R1dEM6wOvUNWnECxBv+rablHpsMew= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Oc5qd/SkqSI1+NPCnZbx8S/CvNmLxGH9uT1b+pGn1BM=; b=UG6xBUpyWaEw5H7uVXLI8U5//RqzhP/JYP73+E9/xuCXUAKzjgKRXHAOfCF+Hjkz2j K1mDCBE1NHLfl8/WN191wWomQGFYrtZrTCw3BEQ/uSKnzrKr2owYgwbWcaJ1ya4CTPwy d6zNkVUmLQp7l08veMjJGUAJtX8b7YDT01EOrWhW66UuzrBJNp9RZhhoy8Gzi8hTHKH6 ZA/E+2F5XXNSJjB6+hFG0gPjhGkHQXAVwzVfb3Ry5HuXYv8u3gUe88aJHtEgE27FPXK/ tUxFDTpW54nyOKWrrNt5PMYpp5TgQmZHZWqwbFDxtFknN3BhXayG7SD7FqDRKCTPcr8O QlZw== X-Gm-Message-State: ABuFfoiG8h3wM8eVn5cqdzSjIuA7KSHJHj3a0MeQYDo8s7S6XIkoC1Xd BlQU8Vnzy5WtocCIt0nhxDlvvoWIrbuWdaocA9nuGg== X-Received: by 2002:a24:57cb:: with SMTP id u194-v6mr1455533ita.148.1538576752642; Wed, 03 Oct 2018 07:25:52 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:5910:0:0:0:0:0 with HTTP; Wed, 3 Oct 2018 07:25:51 -0700 (PDT) In-Reply-To: References: <20180925145622.29959-1-Jason@zx2c4.com> <20180925145622.29959-24-Jason@zx2c4.com> From: Ard Biesheuvel Date: Wed, 3 Oct 2018 16:25:51 +0200 Message-ID: Subject: Re: [PATCH net-next v6 23/23] net: WireGuard secure network tunnel To: "Jason A. Donenfeld" Cc: LKML , Netdev , Linux Crypto Mailing List , David Miller , Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3 October 2018 at 16:13, Ard Biesheuvel wrote: > On 3 October 2018 at 16:12, Jason A. Donenfeld wrote: >> Hi Ard, >> >> On Wed, Oct 3, 2018 at 1:15 PM Ard Biesheuvel wrote: >>> > +config WIREGUARD >>> > + tristate "WireGuard secure network tunnel" >>> > + depends on NET && INET >>> >>> I think you need to add IPV6 here >> >> Nope. Like much of the net tree, WireGuard can function on ipv6-less >> kernels. If you do find something in WireGuard isn't working in a >> v6-less configuration, I consider that to be a bug that needs fixing. >> > > OK. I hit a build error yesterday, and setting CONFIG_IPV6 fixed it. > Let me see if I can reproduce. I get drivers/net/wireguard/socket.o: In function `send6': socket.c:(.text+0x56c): undefined reference to `ipv6_chk_addr' drivers/net/wireguard/socket.o: In function `wg_socket_send_skb_to_peer': socket.c:(.text+0x904): undefined reference to `ipv6_chk_addr' drivers/net/wireguard/socket.o: In function `wg_socket_init': socket.c:(.text+0x161c): undefined reference to `ipv6_mod_enabled' if I build my kernel with WireGuard built in but IPv6 support enabled as a module.