Re: [PATCH] rdma/cm: Randomize local port allocation.

From: Cong Wang
Date: Thu Apr 15 2010 - 22:18:55 EST


Sean Hefty wrote:
From: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>

Randomize local port allocation in a 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@xxxxxxxxxxxxxxxxxxx>
Reviewed-by: Sean Hefty <sean.hefty@xxxxxxxxx>


Thanks, everyone!


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?


As soon as possible, so 2.6.34. :)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/