]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
xio: avoid trying bind to port we know will fail 7603/head
authorRoi Dayan <roid@mellanox.com>
Thu, 4 Feb 2016 14:41:05 +0000 (16:41 +0200)
committerRoi Dayan <roid@mellanox.com>
Thu, 11 Feb 2016 06:54:33 +0000 (08:54 +0200)
commitbfafc3b3fd7305a39a507d11e443f93a2ae22f31
tree4dd41f6fbecc7f75d7721132fdbd4df2bd9b7e0d
parent1304e949cc62710b4a5cb504f6c2d336f25dbd88
xio: avoid trying bind to port we know will fail

When going over range from port_min to port_max to find open
port to bind we can increase port_min after successful bind so the
next portal will start looking from the next port.

Signed-off-by: Roi Dayan <roid@mellanox.com>
src/msg/xio/XioPortal.cc