From 5722bd399ac5379421d533c6c2ca1ea8d45bda2c Mon Sep 17 00:00:00 2001 From: Mike Karels Date: Thu, 2 Jul 1987 23:26:54 -0800 Subject: [PATCH] free those mbufs! (and skip redundant trace) SCCS-vsn: sys/netinet/tcp_input.c 7.9 --- usr/src/sys/netinet/tcp_input.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr/src/sys/netinet/tcp_input.c b/usr/src/sys/netinet/tcp_input.c index 3a4f19be24..c043ad04ef 100644 --- a/usr/src/sys/netinet/tcp_input.c +++ b/usr/src/sys/netinet/tcp_input.c @@ -3,7 +3,7 @@ * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. * - * @(#)tcp_input.c 7.8 (Berkeley) %G% + * @(#)tcp_input.c 7.9 (Berkeley) %G% */ #include "param.h" @@ -1007,8 +1007,7 @@ dropafterack: */ if (tiflags & TH_RST) goto drop; - if (tp->t_inpcb->inp_socket->so_options & SO_DEBUG) - tcp_trace(TA_RESPOND, ostate, tp, &tcp_saveti, 0); + m_freem(m); tp->t_flags |= TF_ACKNOW; (void) tcp_output(tp); return; -- 2.20.1