]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cma: QP type check on received REQs should be AND not OR
authorSean Hefty <sean.hefty@intel.com>
Thu, 14 Jun 2012 20:49:09 +0000 (20:49 +0000)
committerRoland Dreier <roland@purestorage.com>
Wed, 20 Jun 2012 03:04:04 +0000 (20:04 -0700)
commitb9cda28f7559af86c5656fc270461b2a29fc1663
tree9d6904827a5bf03ec9b34b5c8f5b04b05ffecc45
parente2f4a61ea1f3b56cc2e59d6f30a2b3ad6c1e570a
RDMA/cma: QP type check on received REQs should be AND not OR

Change || check to the intended && when checking the QP type in a
received connection request against the listening endpoint.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/cma.c