From patchwork Mon Nov 29 22:54:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sindhu Devale X-Patchwork-Id: 12646035 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 0EE54C433F5 for ; Mon, 29 Nov 2021 22:56:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235078AbhK2W74 (ORCPT ); Mon, 29 Nov 2021 17:59:56 -0500 Received: from mga11.intel.com ([192.55.52.93]:35260 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236029AbhK2W7O (ORCPT ); Mon, 29 Nov 2021 17:59:14 -0500 X-IronPort-AV: E=McAfee;i="6200,9189,10183"; a="233593327" X-IronPort-AV: E=Sophos;i="5.87,273,1631602800"; d="scan'208";a="233593327" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2021 14:55:12 -0800 X-IronPort-AV: E=Sophos;i="5.87,273,1631602800"; d="scan'208";a="511902766" Received: from sindhude-mobl.amr.corp.intel.com ([10.255.35.224]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2021 14:55:10 -0800 From: Sindhu Devale To: jgg@nvidia.com, leon@kernel.org, tatyana.e.nikolova@intel.com Cc: linux-rdma@vger.kernel.org, shiraz.saleem@intel.com, mustafa.ismail@intel.com, Sindhu Devale Subject: [PATCH rdma-core 0/2] Validate input and fix return code Date: Mon, 29 Nov 2021 16:54:44 -0600 Message-Id: <20211129225446.691-1-sindhu.devale@intel.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org This series includes two patches. One to return the appropriate WC return codes and the other to validate the input during memory window bind. Sindhu, Devale (2): providers/irdma: Report correct WC errors providers/irdma: Validate input before memory window bind providers/irdma/uverbs.c | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-)