summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2004-03-17 11:42:29 +0000
committermarkus <markus@openbsd.org>2004-03-17 11:42:29 +0000
commit6515c8b8fb187f891782f8650df179b8037e6261 (patch)
treedf45d3503209281b6ebc315f61f2212f46637d94 /sys/netinet/tcp_input.c
parentFor consistency and to avoid a rare memory leak, the result from (diff)
downloadwireguard-openbsd-6515c8b8fb187f891782f8650df179b8037e6261.tar.xz
wireguard-openbsd-6515c8b8fb187f891782f8650df179b8037e6261.zip
typo in comment (fragment->segment); ok itojun@
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 70b40e74737..184356ceadf 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.157 2004/03/02 12:51:12 markus Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.158 2004/03/17 11:42:29 markus Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -217,7 +217,7 @@ tcp_reass(tp, th, m, tlen)
LIST_REMOVE(tiqe, ipqe_q);
}
if (tiqe == NULL || th->th_seq != tp->rcv_nxt) {
- /* Flush fragments for this connection */
+ /* Flush segment queue for this connection */
tcp_freeq(tp);
tcpstat.tcps_rcvmemdrop++;
m_freem(m);
@@ -282,7 +282,7 @@ tcp_reass(tp, th, m, tlen)
pool_put(&tcpqe_pool, q);
}
- /* Insert the new fragment queue entry into place. */
+ /* Insert the new segment queue entry into place. */
tiqe->ipqe_m = m;
th->th_reseqlen = *tlen;
tiqe->ipqe_tcp = th;