IB/cm: Randomize starting comm ID
authorSean Hefty <sean.hefty@intel.com>
Mon, 28 Aug 2006 22:15:18 +0000 (15:15 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:22:45 +0000 (15:22 -0700)
commitf06d26537559113207e4b73af6a22eaa5c5e9dc3
treed5d33db61adc4070a4b4b0d4f903d3223299db7b
parent2b3e258e5dd1938e2708eb5354ad8ba056fe8154
IB/cm: Randomize starting comm ID

Randomize the starting local comm ID to avoid getting a rejected
connection due to a stale connection after a system reboot or
reloading of the ib_cm.

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