Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9985317ybi; Wed, 24 Jul 2019 13:34:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqzz+7YBjP0+wBFRtujX5e6ymSWnmiwOEf9edsqeuC8UabVLJWdEngnlr190X5UnM+1PcWjS X-Received: by 2002:a17:90a:2190:: with SMTP id q16mr86502249pjc.23.1564000443018; Wed, 24 Jul 2019 13:34:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564000443; cv=none; d=google.com; s=arc-20160816; b=iv9ILFdC4mzsqsNuYSxXoaU5VusBPSK8xJTddWOYw8apwc/BzJSIQE0Uwos7bAGvT3 lIg88GjUU3q6nnDi9885Ll5Thx9N+7wtFca0vsDnY/CiT0ah8g0JWNy18G6iEKmnJVV2 3upEFvDp8PnbWB6XV4Z7zBaY4y2mFUdNQAVjwcIAjx+QjE/mnXX76eKz8OlWlYX0bwA3 3fUkMcsw9dZ2Zxg14Jy+ncHRx66E+r3wfiYAjslu7ZOxVNC3HAH48MgAsXRDIZAzolNj bAqhkTTInH/7DoeknjjjeE/jDbYmtl06pFyfmJ36jrvTGOnsE86c7QgLcIKUHmv3GUVM gu0g== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=MZ04kE4saljHl4fxzTrbXJ4E9BTaaChbuESnJeT9ka4=; b=geUTRvnhQp+05jB8I7lAPq+TvfbdceIdhMQ8WrWf+cwOxUNatYu8zYzE8sMJjysCWc wU54Sct2BiqtFSANC/v25V/ejiXPwEhunqhNCtvWUPZVGMj3VazW5ilstjFaGNnSU+9F 6iaFO8caPxNgILmEq74aWAhS2wliG7knIiy0hCH20MEkjU+KC2A/AI89F4HRcjpoZJd/ KgN8jXjlMjaYK37AlRIEuRcUiehBUVTCeQYtsivClDbMbNALJBCbgOMuokNUEe7JkhEo Sc+YKYz/l7d1d9PK9ehJsztTCaQvCIikXdb8y5XtIbIx6lmqri9iWfxTMA/dQfxaZ15n f2wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eQ2BfTgf; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v8si13905753plg.122.2019.07.24.13.33.48; Wed, 24 Jul 2019 13:34:03 -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=@kernel.org header.s=default header.b=eQ2BfTgf; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728786AbfGXT3S (ORCPT + 99 others); Wed, 24 Jul 2019 15:29:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:48306 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388337AbfGXT3O (ORCPT ); Wed, 24 Jul 2019 15:29:14 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5272E22ADA; Wed, 24 Jul 2019 19:29:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563996553; bh=SpUzqcby77o16NTeR8QQjkQPeC1IXxgQdO+ttTluORo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eQ2BfTgfg+EMBBQH0zfLjg3WBQxCuBdh9NSEmUJLLPIq7yzBI+EQXBZAPzeQEfmfN CctV8ON5apA/hAg74ay1m5hRMvKFnaOkE9Nm0k7LcTzEwIAiM72IMdpn0MKLODMZ9X RIPTLFm6f1uUZ1sLtgL5bhrtfQ+59GTftcYUuNGI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Herbert Xu , Steffen Klassert , Sasha Levin Subject: [PATCH 5.2 138/413] ipsec: select crypto ciphers for xfrm_algo Date: Wed, 24 Jul 2019 21:17:09 +0200 Message-Id: <20190724191744.906896939@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190724191735.096702571@linuxfoundation.org> References: <20190724191735.096702571@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 597179b0ba550bd83fab1a9d57c42a9343c58514 ] kernelci.org reports failed builds on arc because of what looks like an old missed 'select' statement: net/xfrm/xfrm_algo.o: In function `xfrm_probe_algs': xfrm_algo.c:(.text+0x1e8): undefined reference to `crypto_has_ahash' I don't see this in randconfig builds on other architectures, but it's fairly clear we want to select the hash code for it, like we do for all its other users. As Herbert points out, CRYPTO_BLKCIPHER is also required even though it has not popped up in build tests. Fixes: 17bc19702221 ("ipsec: Use skcipher and ahash when probing algorithms") Signed-off-by: Arnd Bergmann Acked-by: Herbert Xu Signed-off-by: Steffen Klassert Signed-off-by: Sasha Levin --- net/xfrm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig index c967fc3c38c8..51bb6018f3bf 100644 --- a/net/xfrm/Kconfig +++ b/net/xfrm/Kconfig @@ -15,6 +15,8 @@ config XFRM_ALGO tristate select XFRM select CRYPTO + select CRYPTO_HASH + select CRYPTO_BLKCIPHER if INET config XFRM_USER -- 2.20.1