commit | 2772b495efe341a02c867bc3a03d7362bd336832 | [log] [tgz] |
---|---|---|
author | Vlad Yasevich <vladislav.yasevich@hp.com> | Tue Aug 21 14:24:30 2007 +0900 |
committer | Vlad Yasevich <vladislav.yasevich@hp.com> | Thu Aug 30 13:55:20 2007 -0400 |
tree | 7ca42b0e414fffd340bb2242cc1f61547cf21183 | |
parent | d99fa42963a5ae394cf1df9d5bb739eb378a189b [diff] |
SCTP: Pick the correct port when binding to 0. sctp_bindx() allows the use of unspecified port. The problem is that every address we bind to ends up selecting a new port if the user specified port 0. This patch allows re-use of the already selected port when the port from bindx was 0. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>