diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2010-04-15 04:29:04 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-04-22 01:18:40 +0200 |
commit | 5d7220e8dc24feed4bbd66667b7696906a147ac4 (patch) | |
tree | e3600986a87cb1f4edf02b8fb65093cdcd1b16a8 /drivers/infiniband/ulp | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rol... (diff) | |
download | linux-5d7220e8dc24feed4bbd66667b7696906a147ac4.tar.xz linux-5d7220e8dc24feed4bbd66667b7696906a147ac4.zip |
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>
Diffstat (limited to 'drivers/infiniband/ulp')
0 files changed, 0 insertions, 0 deletions