git: tcp: Reset keepalive timer, if TCP_KEEPIDLE is changed
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Thu Apr 19 00:02:49 PDT 2012
commit 0a2b0c05b363ed08542050735138699c2570f50b
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Thu Apr 19 14:57:36 2012 +0800
tcp: Reset keepalive timer, if TCP_KEEPIDLE is changed
This would cause side effect, if the keepalive probing was underway.
Correcting this side effect could become overkill, so it is suggested
that TCP_KEEPIDLE is set before connect(2) or listen(2).
Summary of changes:
sys/netinet/tcp_usrreq.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0a2b0c05b363ed08542050735138699c2570f50b
--
DragonFly BSD source repository
More information about the Commits
mailing list