aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb3
diff options
context:
space:
mode:
authorHefty, Sean <sean.hefty@intel.com>2011-10-06 09:32:33 -0700
committerRoland Dreier <roland@purestorage.com>2011-10-06 09:32:33 -0700
commit9595480c5dd1f01e477e8c993d6b24fa484eca3f (patch)
tree14c450423933c5e47a83f8e3c08210ab66ed86c5 /drivers/infiniband/hw/cxgb3
parentLinux 3.1-rc9 (diff)
downloadlinux-dev-9595480c5dd1f01e477e8c993d6b24fa484eca3f.tar.xz
linux-dev-9595480c5dd1f01e477e8c993d6b24fa484eca3f.zip
RDMA/cma: Fix crash in cma_req_handler
The RDMA CM uses the local qp_type to determine how to process an incoming request. This can result in an incoming REQ being treated as a SIDR REQ and vice versa. Fix this by switching off the event type instead, and for good measure verify that the listener supports the incoming connection request. This problem showed up when a user space application mismatched the QP types between a client and server app. Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3')
0 files changed, 0 insertions, 0 deletions