some corrections from markus@openbsd;

- callout_ack() was called with wrong argument
This commit is contained in:
itojun 2004-01-02 15:51:04 +00:00
parent 1fa878c4d4
commit 344b08b44b

View File

@ -1,4 +1,4 @@
/* $NetBSD: tcp_timer.c,v 1.65 2003/10/27 07:43:01 itojun Exp $ */
/* $NetBSD: tcp_timer.c,v 1.66 2004/01/02 15:51:04 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -98,7 +98,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tcp_timer.c,v 1.65 2003/10/27 07:43:01 itojun Exp $");
__KERNEL_RCSID(0, "$NetBSD: tcp_timer.c,v 1.66 2004/01/02 15:51:04 itojun Exp $");
#include "opt_inet.h"
#include "opt_tcp_debug.h"
@ -287,7 +287,7 @@ tcp_timer_rexmt(void *arg)
#endif
s = splsoftnet();
callout_ack(&tp->t_timer[TCPT_KEEP]);
callout_ack(&tp->t_timer[TCPT_REXMT]);
if (tcp_isdead(tp)) {
splx(s);
return;