From: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
Randomize local port allocation in a way sctp_get_port_local() does.Reviewed-by: Sean Hefty <sean.hefty@xxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx>
I like this version, thanks! I'm not sure which tree to merge it through.
Are you needing this for 2.6.34, or is 2.6.35 okay?