]> git.openfabrics.org - ~emulex/infiniband.git/commit
IB/cm: avoid reusing local ID
authorSean Hefty <sean.hefty@intel.com>
Wed, 30 Nov 2005 18:01:13 +0000 (10:01 -0800)
committerRoland Dreier <rolandd@cisco.com>
Wed, 30 Nov 2005 18:01:13 +0000 (10:01 -0800)
commitde1bb1a64c29bae4f5330c70bd1dc6a62954c9f4
tree5586b640073f5e344482246cbc4f3fa8d5662f55
parent227eca83690da7dcbd698d3268e29402e0571723
IB/cm: avoid reusing local ID

Use an increasing local ID to avoid re-using identifiers while
messages may still be outstanding on the old ID.  Without this, a
quick connect-disconnect-connect sequence can fail by matching
messages for the new connection with the old connection.

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