tcp: Reset keepalive timer, if TCP_KEEPIDLE is changed
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 19 Apr 2012 06:57:36 +0000 (14:57 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 19 Apr 2012 06:57:36 +0000 (14:57 +0800)
commit0a2b0c05b363ed08542050735138699c2570f50b
tree2125441f82aa01bdf14680a81aa81ddf10b3eb82
parent022f915e8906fd39616add9f12111edd2774c2e4
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).
sys/netinet/tcp_usrreq.c