From patchwork Mon Nov 7 08:51:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 13034079 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16536C4332F for ; Mon, 7 Nov 2022 08:51:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231460AbiKGIvq (ORCPT ); Mon, 7 Nov 2022 03:51:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231449AbiKGIvp (ORCPT ); Mon, 7 Nov 2022 03:51:45 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAB7413DC3 for ; Mon, 7 Nov 2022 00:51:44 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5515B60F59 for ; Mon, 7 Nov 2022 08:51:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1FF92C433D6; Mon, 7 Nov 2022 08:51:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667811103; bh=NuqbUG7YIUbuVnICeTUeFbLjbylePWzusqyF/6BSHT4=; h=From:To:Cc:Subject:Date:From; b=OI0DJDPvlTEHEVlTcJl2N6LKVAMsshk6CrgPw/pVjOPhRnki9QL5HOW4INtV2mYR0 IHifMBxhFq4QLsBiPL+ix2KGxRv2SSKFn7gkRlNhYvjYTDp5iDL6JqldTLyTAScicq MT3kNAbJOC0NmNu12xJQeS2prU+cHo4hwSvflKv3zQWykIFdqs9YWB5ys4cQYrih69 3dOhGntiOK0hjWX0711QQRYEY2v7WANuYSfSZ1ivgSmvZGze8bRn2QdkNdJQ4MPNxe y5ryJojxW5XCMg+7cC7OMnmj7HKzpfuOizicfU2Z/1UhZ0aaXciKXB0dXSGEboHQ6b Cq6ENonu3x8Lg== From: Leon Romanovsky To: Jason Gunthorpe Cc: Leon Romanovsky , linux-rdma@vger.kernel.org, Mark Zhang , Michael Guralnik , Or Har-Toov Subject: [PATCH rdma-next 0/4] Various core fixes Date: Mon, 7 Nov 2022 10:51:32 +0200 Message-Id: X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org From: Leon Romanovsky Batch unrelated fixes. Mark Zhang (3): RDMA/restrack: Release MR restrack when delete RDMA/core: Make sure "ib_port" is valid when access sysfs node RDMA/nldev: Return "-EAGAIN" if the cm_id isn't from expected port Or Har-Toov (1): RDMA/nldev: Use __nlmsg_put instead nlmsg_put drivers/infiniband/core/nldev.c | 110 ++++++++++++++--------------- drivers/infiniband/core/restrack.c | 2 - drivers/infiniband/core/sysfs.c | 17 +++-- 3 files changed, 64 insertions(+), 65 deletions(-)