Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp975810pxb; Tue, 9 Feb 2021 18:35:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDCr0sR0h69Zydf8Yuom8jWD7dSaSGL2eBqZ+isNJRBznqlBsyZMMjQ87y0+8EaLiH1DIU X-Received: by 2002:a17:906:1741:: with SMTP id d1mr766469eje.182.1612924536155; Tue, 09 Feb 2021 18:35:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612924536; cv=none; d=google.com; s=arc-20160816; b=kXGb3HmkXp1LiaTr4dDrAfUkujVQzWJ67m59hwphGdLHxTM3pTa9GyXweex32g4V5W WiN7AFnxPBZJAlGHshIzjhVtnq++DtyqI3xtcwcxp++9ql/OoAyq0/RNsIziq6+rtAA4 DFtpb8vT9U1x17jV8bPXednf1wDhwFiROmu59VOvCLVU5BpfXWQc6IL48VCPqVxRA7CW NPoUaEsyFfT6Q1tfe6G2rlJb/hV7YPACko0Kwt8UqsdvITpn/cNNfA94fcIxre0DuLu3 S9MeexLJG3vdzLhiivY0HfyJNUfH6OqdXlAky1Q5epaTXBcA0yBc2WqOIsWtifgIIZSc 2y0A== 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=MuWbzPD7htOyeSMF8WbcQZbZvJKKuPluyM0zQ58SJas=; b=mIbp5Dq9eNQ0LjhbVr2ndnPo5W/HL5tUPFaL4IKpNiQLpvVXPBy8xvk2/M0//JCrLc tHANLB5ZlJSJslR6O2gaoE8u/ZYC6NV5a3WXODpfOmeLugIFbZRb2lygwaht4ibUgB8U znd7cgqO0ofsduU8GiM1Il01JXQZmDHCRhHGaYpWwRbnZcyCrsbvLPIaqCR+4TkMBJZg J7qJuIC2Hg7Jjf+hgHb335K1AjQgpVrsG5Kr3AWC3eRB0/+8tZ2EfFbwFiv2qfItm3jq RFyDDyu9aStmKZUOlzzCYWcVlpiXj6kCFBsrJTUM3rp7nRfof+mhFu+NCxqe16xBeZkS l48A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=LXC2eHbS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jl7si357267ejc.746.2021.02.09.18.35.13; Tue, 09 Feb 2021 18:35:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@canb.auug.org.au header.s=201702 header.b=LXC2eHbS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235184AbhBJCe2 (ORCPT + 99 others); Tue, 9 Feb 2021 21:34:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234960AbhBJCQ1 (ORCPT ); Tue, 9 Feb 2021 21:16:27 -0500 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00385C061756; Tue, 9 Feb 2021 18:15:46 -0800 (PST) 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 ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Db3Jb3B5Hz9sBJ; Wed, 10 Feb 2021 13:15:43 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1612923345; bh=HrYbbPkMd2CSwFO3wUv8R0fp87DNVHaZ1SFMINQnFfY=; h=Date:From:To:Cc:Subject:From; b=LXC2eHbSDUAoWxFirQGlvSBQ+WaR3LoAOi/NikbL6P4eL1Vob9eW28WKR4OtgtZ37 Zk8aMGYp3sJGy5KDxhBqoQXrB08T1U/1ytpTSXYUWDpqZjM5N6//X00/I3vFwDaHE7 6MuGUx6myWcW+QWe7RzUSDpdKYqbbPQ/DXfXTqJN0bljKN2Jl1Cvv/c3fwqaFtFtNX FwK5rckPbVTW/aEMmntrey9FT+NzlrsfGaY/cMVzv4ceP5/Y/2ZFJnWtms7zFZtKXM b5WN4D3Ry4rac8LcmyCCkn1NNXxv0AbRfKTWr7OE9f9OeknvNRBwVs/77BlKT1YZ9A izOApkLvhPLgA== Date: Wed, 10 Feb 2021 13:15:42 +1100 From: Stephen Rothwell To: Doug Ledford , Jason Gunthorpe Cc: Bob Pearson , Bob Pearson , Jason Gunthorpe , Jason Gunthorpe , Linux Kernel Mailing List , Linux Next Mailing List , Martin Wilck Subject: linux-next: manual merge of the rdma tree with Linus' tree Message-ID: <20210210131542.215ea67c@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/xWYV/P/qx5xr6A5ADcnhg/+"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/xWYV/P/qx5xr6A5ADcnhg/+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the rdma tree got a conflict in: drivers/infiniband/sw/rxe/rxe_net.c between commit: f1b0a8ea9f12 ("Revert "RDMA/rxe: Remove VLAN code leftovers from RXE"") from Linus' tree and commit: 899aba891cab ("RDMA/rxe: Fix FIXME in rxe_udp_encap_recv()") from the rdma tree. I fixed it up (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/infiniband/sw/rxe/rxe_net.c index 943914c2a50c,36d56163afac..000000000000 --- a/drivers/infiniband/sw/rxe/rxe_net.c +++ b/drivers/infiniband/sw/rxe/rxe_net.c @@@ -153,15 -152,14 +153,19 @@@ static struct dst_entry *rxe_find_route static int rxe_udp_encap_recv(struct sock *sk, struct sk_buff *skb) { struct udphdr *udph; + struct rxe_dev *rxe; struct net_device *ndev =3D skb->dev; + struct net_device *rdev =3D ndev; - struct rxe_dev *rxe =3D rxe_get_dev_from_net(ndev); struct rxe_pkt_info *pkt =3D SKB_TO_PKT(skb); =20 + /* takes a reference on rxe->ib_dev + * drop when skb is freed + */ + rxe =3D rxe_get_dev_from_net(ndev); + if (!rxe && is_vlan_dev(rdev)) { + rdev =3D vlan_dev_real_dev(ndev); + rxe =3D rxe_get_dev_from_net(rdev); + } if (!rxe) goto drop; =20 --Sig_/xWYV/P/qx5xr6A5ADcnhg/+ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmAjQc4ACgkQAVBC80lX 0GxvnQf9EAkvQXgABaVqlGlyAIt2+/7I0vWTkZINwx1w+krym2rqbhFGVzVNPqp8 7AIcqRcc3s25s2P5Gshq/caSL0tIT4GeI/pehskbzz+rKt6CKbWs0niblpn5TjxN hN1sG+0sAvlygjqsz8MWRTYBIK/R4K3HOFTQ5kbeDlkv1G7Qr8rMzsbPXydg6YgT O8weWLePFBI1koYlPW7BpuPfNEPtBuBj4X2prmBEC9OuhiJM30VbXFOIt7CgI+EB jlBs0z/MsNryTM1uiHAw9H5lyG+fKUf8xSLzTnP97RUitYclN5R9s27gZ5mS92+Q DsqGNB1A+CDhkTNcuq+f7sLnRaCisA== =8IWq -----END PGP SIGNATURE----- --Sig_/xWYV/P/qx5xr6A5ADcnhg/+--