Message ID | 20200212163928.2644113-1-matthieu.baerts@tessares.net |
---|---|
State | Deferred, archived |
Delegated to: | Matthieu Baerts |
Headers | show
Return-Path: <mptcp-bounces@lists.01.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.01.org (client-ip=2001:19d0:306:5::1; helo=ml01.01.org; envelope-from=mptcp-bounces@lists.01.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=tessares.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=tessares-net.20150623.gappssmtp.com header.i=@tessares-net.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=etTuGlzp; dkim-atps=neutral Received: from ml01.01.org (ml01.01.org [IPv6:2001:19d0:306:5::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48HljT3t6Tz9s29 for <incoming@patchwork.ozlabs.org>; Thu, 13 Feb 2020 03:39:40 +1100 (AEDT) Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id CB6041007B183; Wed, 12 Feb 2020 08:42:55 -0800 (PST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::442; helo=mail-wr1-x442.google.com; envelope-from=matthieu.baerts@tessares.net; receiver=<UNKNOWN> Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9C31B1007B1FC for <mptcp@lists.01.org>; Wed, 12 Feb 2020 08:42:53 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id w12so3200760wrt.2 for <mptcp@lists.01.org>; Wed, 12 Feb 2020 08:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tessares-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HDTknmoAocb/r5PZ4eE/H0eWqgewIqeBU5BzE66S8kY=; b=etTuGlzpukHJlkAbC1x00Fqrd1Zxgc3Xl8aNBdZ1Wy1nlNuxS/uwnFTP3ix9FlGUjv Jko/K1wXy7QdXM1Zc220CfuZsS4u5KavdD+VSbS1Xh4yuZZikkxj17BcnVZ3YcGyBYVs kWIbX5iweZniugKWvARgPHKtIgTIL8h6Qa/u9U+j5DCRrhBzuY5z+ea5x2TTmYnNm7Z4 MEylU8t0oiWucyd8eoay/pRxe63uZnmSi3GoaJ3UG05H2d/LroSxB79/5cSenZ1G/jd9 /J0IormjM4Qz3jHV5/jM8pXxWcw5ZKATjeGyszGgDR7rdkwy3lUhxtxdFY0lD2huzoKz 6AIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HDTknmoAocb/r5PZ4eE/H0eWqgewIqeBU5BzE66S8kY=; b=EkL+GcdX6cAKffQKRc0tWWGmdJ/ijMrpbo4FsJA6NGLLx21N8NHE35BxOEXFIxiw+s DBLQoSngifGnI9fR77h7TGD4pkJPGbNCPXuXqQ58RFCnCrpk/XJXaJnbBrIFq5tpbKYz aZDH9laHsiNdpbRmI9Bsrh5X7d38Rtl1QpNBjORKEckVVSg4FM7lXy5Qo5+SVuIScfn1 axA5T6W2XLhe1YZZCx4L9LuplQKyOXA5jxJAPM175vLCK7Tx7jygnOTbGwhajWS3x+wu HWuqfnUqGkpHHWu018LT1mIrzjh1WrQ5EWZgBVpEYD4lY0E2BsugEIhF1tTF/oQ6i2ks 5Ezw== X-Gm-Message-State: APjAAAUFZRsgHqiHUt6kKvIWdJ5TEkyMZ2KJQ0fnrikGJ8cYUNwSKg5/ aoXF8em8ZHIeHYwOeD36MOTOQUmyD/vscw== X-Google-Smtp-Source: APXvYqwckMjsC8wKGwlQR2GR+BSNzcLuQsnG2IUjel3aD/nHDAliHj9O5OOYD90IjmUBttojNl1Brw== X-Received: by 2002:adf:ea4a:: with SMTP id j10mr15561253wrn.119.1581525573914; Wed, 12 Feb 2020 08:39:33 -0800 (PST) Received: from tsr-vdi-mbaerts.nix.tessares.net (static.23.216.130.94.clients.your-server.de. [94.130.216.23]) by smtp.gmail.com with ESMTPSA id p5sm1206282wrt.79.2020.02.12.08.39.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Feb 2020 08:39:33 -0800 (PST) From: Matthieu Baerts <matthieu.baerts@tessares.net> To: mptcp@lists.01.org Cc: Matthieu Baerts <matthieu.baerts@tessares.net> Date: Wed, 12 Feb 2020 17:39:28 +0100 Message-Id: <20200212163928.2644113-1-matthieu.baerts@tessares.net> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Message-ID-Hash: 4CWV4IPH5JE3OZYHV4ZWAJIG2AEC2S5A X-Message-ID-Hash: 4CWV4IPH5JE3OZYHV4ZWAJIG2AEC2S5A X-MailFrom: matthieu.baerts@tessares.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.1.1 Precedence: list Subject: [MPTCP] [PATCH] mptcp: select CRYPTO List-Id: Discussions regarding MPTCP upstreaming <mptcp.lists.01.org> Archived-At: <https://lists.01.org/hyperkitty/list/mptcp@lists.01.org/message/4CWV4IPH5JE3OZYHV4ZWAJIG2AEC2S5A/> List-Archive: <https://lists.01.org/hyperkitty/list/mptcp@lists.01.org/> List-Help: <mailto:mptcp-request@lists.01.org?subject=help> List-Post: <mailto:mptcp@lists.01.org> List-Subscribe: <mailto:mptcp-join@lists.01.org> List-Unsubscribe: <mailto:mptcp-leave@lists.01.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
mptcp: select CRYPTO
|
expand
|
diff --git a/net/mptcp/Kconfig b/net/mptcp/Kconfig index 49f6054e7f4e..a9ed3bf1d93f 100644 --- a/net/mptcp/Kconfig +++ b/net/mptcp/Kconfig @@ -4,6 +4,7 @@ config MPTCP depends on INET select SKB_EXTENSIONS select CRYPTO_LIB_SHA256 + select CRYPTO help Multipath TCP (MPTCP) connections send and receive data over multiple subflows in order to utilize multiple network paths. Each subflow
It is now needed when using crypto_memneq() in subflow.c: ld: net/mptcp/subflow.o: in function `subflow_syn_recv_sock': subflow.c:(.text+0xa0b): undefined reference to `__crypto_memneq' Note that without this modification and if CRYPTO is not selected, we have this warning: WARNING: unmet direct dependencies detected for CRYPTO_LIB_SHA256 Depends on [n]: CRYPTO [=n] Selected by [y]: - MPTCP [=y] && NET [=y] && INET [=y] MPTCP selects CRYPTO_LIB_SHA256 (for MPTCPv1) but even if there is a dependence to CRYPTO, the latter is not enabled. Does that mean we also need to backport this 'net'? Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> --- Notes: to be squashed in "mptcp: Add handling of incoming MP_JOIN requests" net/mptcp/Kconfig | 1 + 1 file changed, 1 insertion(+)