From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F8811DFE8 for ; Tue, 31 Oct 2023 20:14:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="td53QjSZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27D12C433C7; Tue, 31 Oct 2023 20:14:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698783259; bh=YduzvvmkmCkh7XYeNNev2rvRk7Q+I6SxwFxUFz9VHnY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=td53QjSZeq2Du0lMC4bD+vMC4aWlfLC6V0Q7LWNOqXlaz2rTQNiFyJBLjpmpSENEP lvws2KtMyn0A53iMkYIQ2qVzbyxMzHmMHXt5+xvSNSDqjA3mNAhW3tTPCXX5laQDj7 5gEeamGoTjWEIzsQNKPr8douaj0yQdLVMp+kCC3hXHhWbub+UPGXyjKNCicJV7s8x0 Y3KHPV0Y3IvkwHqHkCaeWIJgGkTSscfIx6Y77pA9McZwK+ZT2LQrK12x7PXeRon0iI Y+cRRPMo2jAIJznQndQ5b9BUTsm2nFI2IskQR9RZarDym0db04q2Vqr/kEgTX66QQe Y4H7zM1YqwUug== Date: Tue, 31 Oct 2023 13:14:18 -0700 From: Jakub Kicinski To: Eric Biggers Cc: Herbert Xu , Stephen Rothwell , David Miller , Paolo Abeni , Networking , Linux Crypto List , Dmitry Safonov <0x7f454c46@gmail.com>, Dmitry Safonov , Francesco Ruggeri , Salam Noureddine , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the crypto tree Message-ID: <20231031131418.52af79d0@kernel.org> In-Reply-To: <20231031045157.GA12981@sol.localdomain> References: <20231030155809.6b47288c@canb.auug.org.au> <20231030160953.28f2df61@canb.auug.org.au> <20231030150243.0e66ba73@kernel.org> <20231031045157.GA12981@sol.localdomain> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 30 Oct 2023 21:51:57 -0700 Eric Biggers wrote: > On Mon, Oct 30, 2023 at 03:02:43PM -0700, Jakub Kicinski wrote: > > On Mon, 30 Oct 2023 13:23:53 +0800 Herbert Xu wrote: > > > If we simply apply this patch to the netdev tree then everything > > > should work at the next merge window. But perhaps you could change > > > the patch description to say something like remove the obsolete > > > crypto_hash_alignmask. It's not important though. > > > > I'm happy to massage the commit message and apply the fix to net. > > But is it actually 100% correct to do that? IOW is calling > > crypto_ahash_alignmask() already not necessary in net-next or does > > it only become unnecessary after some prep work in crypto-next? > > > > We can tell Linus to squash this fix into the merge of either > > crypto-next or net-next, I'm pretty sure he'd be okay with that.. > > It's safe to fold the patch into net-next. It actually looks like a bug to be > using the alignmask in the way that net/ipv4/tcp_ao.c is using it. You don't > want to be erroring out just because the algorithm declared an alignmask. Thanks Eric! Applied as commit f2fbb9081123 ("net: tcp: remove call to obsolete crypto_ahash_alignmask()") to net-next. I'll respin our PR after some sanity checking.