diff options
| author | thorpej <thorpej@NetBSD.org> | 1997-12-09 21:59:17 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 1997-12-09 21:59:17 +0000 |
| commit | eae709d885dfd2eaf0de211ed19c0a7b5461e93d (patch) | |
| tree | 92c7d17c1dccf763af92e204139b642092820623 /sys/netinet/tcp_timer.c | |
| parent | dc6d631270031bf04631110206ae5c33278083f1 (diff) | |
Costmetic change: use intotcpcb() in tcp_fasttimo().
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 76f24ec62f0..dc4141db84f 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -1,4 +1,4 @@ -/* $NetBSD: tcp_timer.c,v 1.22 1997/11/08 02:35:25 kml Exp $ */ +/* $NetBSD: tcp_timer.c,v 1.23 1997/12/09 21:59:17 thorpej Exp $ */ /* * Copyright (c) 1982, 1986, 1988, 1990, 1993 @@ -79,7 +79,7 @@ tcp_fasttimo() if (inp) /* XXX */ for (; inp != (struct inpcb *)&tcbtable.inpt_queue; inp = inp->inp_queue.cqe_next) { - if ((tp = (struct tcpcb *)inp->inp_ppcb) && + if ((tp = intotcpcb(inp)) != NULL && (tp->t_flags & TF_DELACK)) { tp->t_flags &= ~TF_DELACK; tp->t_flags |= TF_ACKNOW; |
