aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2026-03-25 05:53:56 +0000
committerPhilip Paeps <philip@FreeBSD.org>2026-03-25 06:56:19 +0000
commita9cba5321021c5758c0c8bb65f9966bef01096fd (patch)
treed31e845bd933109f3a05124e8ec497950788fb72
parent24c55170cef490616ad4b9262a39e1c5c47b8d0f (diff)
-rw-r--r--sys/netinet/tcp_subr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index d17b46d13038..16871d7d8288 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -2256,6 +2256,8 @@ tcp_send_challenge_ack(struct tcpcb *tp, struct tcphdr *th, struct mbuf *m)
tcp_respond(tp, mtod(m, void *), th, m, tp->rcv_nxt,
tp->snd_nxt, TH_ACK);
tp->last_ack_sent = tp->rcv_nxt;
+ } else {
+ m_freem(m);
}
}