]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
IB/qib: Fix QP check when looping back to/from QP1
authorIra Weiny <ira.weiny@intel.com>
Wed, 18 Dec 2013 16:41:37 +0000 (08:41 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 19:51:11 +0000 (11:51 -0800)
commit2332020b306a8da315f28cdac1cf19e6d9d470fd
treedaf7825848b8b75b9ac5662cb3a836adecbb45a3
parent0cc70c5ec55e404dd4c970a3566dc60508088932
IB/qib: Fix QP check when looping back to/from QP1

commit 6e0ea9e6cbcead7fa8c76e3e3b9de4a50c5131c5 upstream.

The GSI QP type is compatible with and should be allowed to send data
to/from any UD QP.  This was found when testing ibacm on the same node
as an SA.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/qib/qib_ud.c