IB/cm: Fix stale connection detection
authorSean Hefty <sean.hefty@intel.com>
Tue, 22 May 2007 00:38:02 +0000 (17:38 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 29 May 2007 23:07:09 +0000 (16:07 -0700)
commitd998ccce020e2cfcf11c6b57503532930ede2894
treeee9756ab7c9bf087dc47ecd43c1e3a4c439a26c5
parentec56dc0b7f6c3fec20bbc2e98ff1a06edf2fc9b9
IB/cm: Fix stale connection detection

The ib_cm can incorrectly detect a stale connection (a new connection
request for a QPN that is already connected) as a duplicate connection
request.  Separate the handling of potential duplicate REQs from stale
connections.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cm.c