diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2008-02-20 11:24:04 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2008-02-20 11:24:04 +0000 |
commit | dde0c99ae283c1cfe336d9c50cf9d2e6899b9ce7 (patch) | |
tree | af3f111965ebb6df9e261636a5085f9d48eb8246 /sys/netinet/tcp_timer.c | |
parent | 42d50285dc0534294fbf138324bb71ceee907c35 (diff) |
when creating a response, use the correct TCP header instead of
relying on the mbuf chain layout; with claudio@ and krw@; ok henning@
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r-- | sys/netinet/tcp_timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index f313b4b1857..69c70b9cc29 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_timer.c,v 1.41 2007/11/27 17:23:23 deraadt Exp $ */ +/* $OpenBSD: tcp_timer.c,v 1.42 2008/02/20 11:24:03 markus Exp $ */ /* $NetBSD: tcp_timer.c,v 1.14 1996/02/13 23:44:09 christos Exp $ */ /* @@ -453,7 +453,7 @@ tcp_timer_keep(void *arg) */ tcpstat.tcps_keepprobe++; tcp_respond(tp, mtod(tp->t_template, caddr_t), - (struct mbuf *)NULL, tp->rcv_nxt, tp->snd_una - 1, 0); + NULL, tp->rcv_nxt, tp->snd_una - 1, 0); TCP_TIMER_ARM(tp, TCPT_KEEP, tcp_keepintvl); } else TCP_TIMER_ARM(tp, TCPT_KEEP, tcp_keepidle); |