commit | aedec08050255db1989a38b59616dd973dfe660b | [log] [tgz] |
---|---|---|
author | Sean Hefty <sean.hefty@intel.com> | Mon Jan 29 16:41:23 2007 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Sat Feb 10 08:00:50 2007 -0800 |
tree | 69c31d3db3c876005a0e5b05096b9a562d790db6 | |
parent | 65e5c0262169a92bdec71a8bb9edb32dab2d8d1f [diff] |
RDMA/cma: Increment port number after close to avoid re-use Randomize the starting port number and avoid re-using port values immediately after they are closed. Instead keep track of the last port value used and increment it every time a new port number is assigned, to better replicate other port spaces. Signed-off-by: Roland Dreier <rolandd@cisco.com>