tcp keepalive diff #1

2011-06-14 Thread Stuart Henderson
actually send keepalives at tcp_keepintvl half-seconds. previously, tcp_timer.c would arm the timer at tcp_keepintvl half-seconds in tcp_timer_keep(), but then the code touched in the diff below would reset it to tcp_keepidle half-seconds instead any comments? ok? Index: netinet/tcp_input.c

Re: tcp keepalive diff #1

2011-06-14 Thread Stuart Henderson
On 2011/06/14 16:22, Stuart Henderson wrote: > actually send keepalives at tcp_keepintvl half-seconds. > > previously, tcp_timer.c would arm the timer at tcp_keepintvl half-seconds > in tcp_timer_keep(), but then the code touched in the diff below would > reset it to tcp_keepidle half-seconds inst

Re: tcp keepalive diff #1

2011-06-21 Thread Brynet
Here is sthen's first diff again that fixes keepalives, without that stray variable and with the space vs. tabs nits cleared up. It works well here, anyone willing to ok this for sthen? -Bryan. Index: netinet/tcp_input.c === RCS fi