summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_timer.c
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2002-01-15 19:18:02 +0000
committerNiels Provos <provos@cvs.openbsd.org>2002-01-15 19:18:02 +0000
commit5f65bca299e5b97c1c3d9b0a20062984e598b981 (patch)
tree8f4cbab1a166614cee49c69214e31885076c946d /sys/netinet/tcp_timer.c
parent0d1a73158f9cc3967f00bd711bfe59ac87de9d45 (diff)
allocate sackholes with pool
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r--sys/netinet/tcp_timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index 695547cdbcf..763650405e1 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_timer.c,v 1.25 2002/01/14 20:13:45 provos Exp $ */
+/* $OpenBSD: tcp_timer.c,v 1.26 2002/01/15 19:18:01 provos Exp $ */
/* $NetBSD: tcp_timer.c,v 1.14 1996/02/13 23:44:09 christos Exp $ */
/*
@@ -181,7 +181,7 @@ tcp_timers(tp, timer)
while (q != NULL) {
p = q;
q = q->next;
- free(p, M_PCB);
+ pool_put(&sackhl_pool, p);
}
tp->snd_holes = 0;
#if defined(TCP_SACK) && defined(TCP_FACK)