Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp599532pxb; Thu, 23 Sep 2021 06:59:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhKsJzig0kNoc+Pao3+lObn5SyEjUu5snzfUYcmW9BBPn+9xa0NgEaKVy5O/anbVst8Tyz X-Received: by 2002:aa7:d6c7:: with SMTP id x7mr5733217edr.180.1632405543658; Thu, 23 Sep 2021 06:59:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632405543; cv=none; d=google.com; s=arc-20160816; b=pXYLRYJ5PHo/ddqyMF3FYgkaNmA2StSpTWw+MGS2in58sFI0JftUUZVbR1jI1ptDv6 XkPxbaUkNBPyEIXR0HjtVy3XDMMwr9JbY9Iig8dbIS2+GsfrQ0A8Gq8SijXeD2ArffB5 s6aa/MIue52nWSbgW6uaw5a6cJvE4koVVjI40S0avoAQWBQIBtIjcuOesKoTRVNTPMD6 44Ehg566DD6+CZTRKMePVEPsLbj7GvTrCZe1qrQ7/r7a1s+765YBvY8dyUBrDH0wMfu8 RoqLdWCvbeqcC79raL2nL8UX5Artv1VhPY/c25knjs74ZoBx5HnGQec9l8yhbUe5pshK 8ohQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=gnAzmjwk4nEjJgZrPmG3a3y8uaJqpk3DYtFO90o59Hw=; b=fjkOuJwkfqe5t85MYnJQ6dYOIBMwpBMMpsXi2huZLE0MsVStCoRmX4MX+Vnwytw4ho 7+v0wRPNp188+8fdDx5UeQ+FduHr2WosEKvACSQmjWvqso3Nl1rumWN/G/cn3JcCUvf7 /ScId0TTShbIPv0piKFBWgofvwGt/SPGIKABHHFCnSsTOQvLIS8pH1CaYw4mt1dyK65x ANUFsOLGruM8Q+oatZ3/MFJHLu45jhExIBnTuI7FylmLLIJlC92TS9vCA5Ua/ILxawAD 0XIfrQ159oC+Gu2zY8MqyMEp7/hQWAhh1ZViriOKi1i9d2CR5sMdOY4GqFV75LOQNzDl l7Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nvfxeqqQ; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j6si6276573ejj.365.2021.09.23.06.58.31; Thu, 23 Sep 2021 06:59:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nvfxeqqQ; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241525AbhIWN7g (ORCPT + 99 others); Thu, 23 Sep 2021 09:59:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:59420 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235028AbhIWN7g (ORCPT ); Thu, 23 Sep 2021 09:59:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5230160F44; Thu, 23 Sep 2021 13:58:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632405485; bh=KBCmgvRZ8mFtUYEqxjr94uSNKvUJebo2DMZrZfaxafs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nvfxeqqQFVHLpbarVIqhOY4ghlUK4ej5K2byCaZEEjidim953yvcjgL+jjOjMFDwL sK8DYh9K21sxqFDEs5O6ZxIl6vhsIOYjeSnMquoSdcB2AzvNK7uY6dvU9LeMGxZ073 7hmSbx4oX+LLKnZy6/uEs1WYz14YtTMxNjDjTD682zzquLPYT+x78L/+rCTRgZmN2S ml4qKU6dyddwmIJVkvbXYs/KnEdAvW52M6ZoNdRKhbHxCe35v6ustUAaIpppiF85DX S17E2unCldiVPGhBykk47yicI17YPKVuAB3JqAn5yHHy2WNMibSkitnM+L7cjTPJNc WWgeoo4nKcfAg== Date: Thu, 23 Sep 2021 06:58:03 -0700 From: Jakub Kicinski To: Leonard Crestez Cc: Dmitry Safonov <0x7f454c46@gmail.com>, David Ahern , Shuah Khan , Eric Dumazet , "David S. Miller" , Herbert Xu , Kuniyuki Iwashima , Hideaki YOSHIFUJI , Yuchung Cheng , Francesco Ruggeri , Mat Martineau , Christoph Paasch , Ivan Delalande , Priyaranjan Jha , Menglong Dong , netdev@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/19] tcp: Initial support for RFC5925 auth option Message-ID: <20210923065803.744485ce@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: References: <20210921161327.10b29c88@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, 23 Sep 2021 10:49:53 +0300 Leonard Crestez wrote: > Many of the patch splits were artificially created in order to ease > review, for example "signing packets" doesn't do anything without also > "hooking in the tcp stack". Some static functions will trigger warnings > because they're unused until the next patch, not clear what the > preferred solution would be here. I could remove the "static" marker > until the next patch or reverse the order and have the initial "tcp > integration" patches call crypto code that just returns an error and > fills-in a signature of zeros. Ease of review is important, so although discouraged transient warnings are acceptable if the code is much easier to read that way. The problem here was that the build was also broken, but looking at it again I think you're just missing exports, please make sure to build test with IPV6 compiled as a module: ERROR: modpost: "tcp_authopt_hash" [net/ipv6/ipv6.ko] undefined! ERROR: modpost: "__tcp_authopt_select_key" [net/ipv6/ipv6.ko] undefined!