]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
IB/qib: Fix local access validation for user MRs
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Fri, 28 Sep 2012 17:33:52 +0000 (17:33 +0000)
committerRoland Dreier <roland@purestorage.com>
Mon, 1 Oct 2012 16:59:26 +0000 (09:59 -0700)
commitc00aaa1a0221a22153071fcb2f320e2ebaecc2fd
treed4d4d23b4dd1529c9315a8914a588c4669ea7c41
parente20d583818a5d6fc052e59fe2345d82ffd089462
IB/qib: Fix local access validation for user MRs

Commit 8aac4cc3a9d7 ("IB/qib: RCU locking for MR validation") introduced
a bug that broke user post sends.  The proper validation of the MR
was lost in the patch.

This patch corrects that validation.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/qib/qib_keys.c