summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2014-03-18 14:40:13 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2014-07-10 18:35:00 +0200
commit4920e37a9e851172158ecc0fd7e060712dc1b5e8 (patch)
tree807be93fb5bace3b1ff596a2338736c867a7e590 /lib
parentaaaba34576407857f6146ff6c330f06e63fb2bf2 (diff)
downloadop-kernel-dev-4920e37a9e851172158ecc0fd7e060712dc1b5e8.zip
op-kernel-dev-4920e37a9e851172158ecc0fd7e060712dc1b5e8.tar.gz
drbd: Limit the time we are waiting for the first packet on an accepted socket
Before the patch 'drbd: Keep the listening socket open while trying to connect to the peer' the newly created socket inherited the receive timeout from the listen socket. The listen socket had a receive timeout of connect-intervall +- 30% random jitter. The real issue is that after the mentioned patch we had no timeout at all. Now use 4 times the ping-timeout. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud