Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp956024rda; Sun, 22 Oct 2023 18:42:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEeYhgsvRgz3tvP24PGkiv4c9o4kKnTVwJLCFbaw++j2vd64qOqkv+pHACIgq6B1kLVgo7d X-Received: by 2002:a05:6358:9986:b0:166:c218:e517 with SMTP id j6-20020a056358998600b00166c218e517mr9248788rwb.24.1698025356245; Sun, 22 Oct 2023 18:42:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698025356; cv=none; d=google.com; s=arc-20160816; b=iXxHeyp3gvw3pWiQeo9lGCjJDyfasQts+hq/cNLIX3yKN50c8HbgkR0Dx1MnWBiQk5 X88xc2UzJQrhGH2mlsYYLZ0eV1s7KYvzfHq5z0/x3tGJ4/FoYfnqB3MjdQw4LH4z8iHM 9Bf3ZK81AE5vdn/FxdKO7LaIZ2jZR/WCuKMMsIkraUqYsZdDMeVDevpvRJwYZ+IWs0as v6PmIOr70FfEYEwLC/X8tibs7AmOjIUpa5nhDzgVf4IzCOeR9QJu1EnW2OGVz14kVpus q6Nu5N4r0Preuk0ff8+xRcnrKFdAWjMsQwUzCFOlct5EB2NEu49oTOANrQrHrJKd2tDT UAdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=RaCCh9Z/e12DEo8pm9dRiMR3hb8GPa3Gm/pRDZSRVHw=; fh=prSOGNU5LItw9I12bmszh1yTxf0m4tuyDmN2CWHbdVo=; b=wn5nFVuJgagocs1nheb/WMuX0+5Kk6kwDniof4yeIFknnB4U6B74jqyHpKPeN1zNxP e/uZy+Z4gs0FbD+ypTuRhaBhuTWUrj7VZOtHidio3/TmmsUAdqTQxkJiodTlCFgKJyxR 7+0hnvB4nUwruhF/DYjepOImi+ge7Yc6HlmVj3NtJBxSdxDL38WjGNdF+QEYbQHyE8C+ eppb9kqIh5dxjau8KcmqMhlMVCZx+G9FviYIR/sfmmd79kzkaLCg88eNF4KkGzQp3CfI 87N1los19h099tyIC670SKw+Ttgxkumv6aIKonNy9rQ0Bw5thyobwrWg0SpxV6hb5wye tMSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=to97amS2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id p22-20020a63e656000000b00578b93b1b26si5693273pgj.544.2023.10.22.18.42.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 18:42:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=to97amS2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id CE394807C771; Sun, 22 Oct 2023 18:42:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233108AbjJWBmL (ORCPT + 99 others); Sun, 22 Oct 2023 21:42:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233032AbjJWBmK (ORCPT ); Sun, 22 Oct 2023 21:42:10 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE019F7; Sun, 22 Oct 2023 18:42:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1698025322; bh=RaCCh9Z/e12DEo8pm9dRiMR3hb8GPa3Gm/pRDZSRVHw=; h=Date:From:To:Cc:Subject:From; b=to97amS2dqEJY+ViWtVaCnJwogGRHliuG4GPsnXBw+GT/zPOUuAE8nso6QQoQKwTA 9BmJz+KkcafJruoMcMMH6R9y3x1ygtAtw9qhiqPHT2FICRmwlaOEWtn1iwqDdM8TWc HQk3X1SYgWaAdeDV8tvJqQDst7eJWLNO4VmV1XWyMqEqziWTdale+JLIQMhVYlfNSw RZlk/MApmwS3s0kf/Ir4cHbLMz6escHItFqDi6sr28UeNy3YSjJ0QYHRKOnwKSTuRX dcVF19X0GUOGJJJY/KNA2DzC1zmLffiCOMi1erPhs0r77pV8sQFl/+dO683r5pDjON XEUEwF2FVv6zg== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SDHx62Vtqz4wd7; Mon, 23 Oct 2023 12:42:01 +1100 (AEDT) Date: Mon, 23 Oct 2023 12:42:00 +1100 From: Stephen Rothwell To: Jens Axboe Cc: Hannes Reinecke , Keith Busch , Linux Kernel Mailing List , Linux Next Mailing List , Sagi Grimberg Subject: linux-next: manual merge of the block tree with Linus' tree Message-ID: <20231023124200.38dd410b@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/d3N4OZEb57toJpLPWdvRs6z"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 22 Oct 2023 18:42:34 -0700 (PDT) --Sig_/d3N4OZEb57toJpLPWdvRs6z Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the block tree got a conflict in: drivers/nvme/target/tcp.c between commit: d920abd1e7c4 ("nvmet-tcp: Fix a possible UAF in queue intialization setup= ") from Linus' tree and commit: 675b453e0241 ("nvmet-tcp: enable TLS handshake upcall") from the block tree. I fixed it up (I am not sure this is necessary - see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc drivers/nvme/target/tcp.c index 197fc2ecb164,4336fe048e43..000000000000 --- a/drivers/nvme/target/tcp.c +++ b/drivers/nvme/target/tcp.c @@@ -910,8 -932,8 +933,10 @@@ static int nvmet_tcp_handle_icreq(struc iov.iov_base =3D icresp; iov.iov_len =3D sizeof(*icresp); ret =3D kernel_sendmsg(queue->sock, &msg, &iov, 1, iov.iov_len); -- if (ret < 0) - goto free_crypto; ++ if (ret < 0) { ++ queue->state =3D NVMET_TCP_Q_FAILED; + return ret; /* queue removal will cleanup */ ++ } =20 queue->state =3D NVMET_TCP_Q_LIVE; nvmet_prepare_receive_pdu(queue); --Sig_/d3N4OZEb57toJpLPWdvRs6z Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmU1z2gACgkQAVBC80lX 0GxRTgf/WmF5ULtaDAldhJ8rqRyQ0p2AYEPlNW2AEytzKESkmPZXKxQqYlD81xpU 1U+KHAefCzwO585RFsUg72nPgMEjDU4/xA876pMN3ndEIkGlnQTZFjuF6MrtIm38 MAJ1bi2EEYrlaZ0Zmh+0U1dz3QU5OLjL5g6KbmeYvPg8iqNp/CIM7+fmt/tfNcmp aSjFstLKL6OQNJn09nBfVYxCD8cmCKvjN6EyD7fA2EOF+zYrgDQ0wfJuCP5IvLz+ 8x8uKvhp1SkAsEmiXf4U9VLOJkaEuzmfdJjU/QiNUjqNeJJbaRWr1BWQo/Q9Eyo4 1puT1eg+TjeZGRAJDSV5uj+cvx9LuA== =XXoe -----END PGP SIGNATURE----- --Sig_/d3N4OZEb57toJpLPWdvRs6z--