commit | 5d7220e8dc24feed4bbd66667b7696906a147ac4 | [log] [tgz] |
---|---|---|
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | Thu Apr 15 11:29:04 2010 +0900 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Apr 21 16:18:40 2010 -0700 |
tree | e3600986a87cb1f4edf02b8fb65093cdcd1b16a8 | |
parent | 0eddb519b9127c73d53db4bf3ec1d45b13f844d1 [diff] |
RDMA/cma: Randomize local port allocation Randomize local port allocation in the way sctp_get_port_local() does. Update rover at the end of loop since we're likely to pick a valid port on the first try. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Reviewed-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>