DragonFly commits List (threaded) for 2010-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: network - Restart the callout timer when setting TCP_FASTKEEP
commit 0ecd93f9afc1071c7e09f45eb52cc804b4bd52f8
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Fri Sep 24 09:58:09 2010 -0700
network - Restart the callout timer when setting TCP_FASTKEEP
* When TCP_FASTKEEP is enabled we must reload the callout with the shorter
timeout. If we allow the longer timeout to expire and the connection
remains idle the tcp connection will be dropped when the longer timeout
expires since it will have exceeded the maximum calculation.
* Fixes noisy but otherwise benign NFS messages on the console.
* Abstract the tcp activity function into tcp_timer_keep_activity() so
we can call it from both usrreq and tcp_input.
Summary of changes:
sys/netinet/tcp_input.c | 55 ++++++++++++++++++++++++++++-----------------
sys/netinet/tcp_usrreq.c | 10 ++++++--
sys/netinet/tcp_var.h | 1 +
3 files changed, 42 insertions(+), 24 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0ecd93f9afc1071c7e09f45eb52cc804b4bd52f8
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]