rack, bbr: minor cleanup

No functional change intended.

Reviewed by:		Nick Banks
MFC after:		1 week
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D51734
This commit is contained in:
Michael Tuexen
2025-08-06 12:24:54 +02:00
parent c72188d85a
commit 717bbade24
+2 -4
View File
@@ -509,11 +509,9 @@ void
ctf_do_dropwithreset(struct mbuf *m, struct tcpcb *tp, struct tcphdr *th,
int32_t rstreason, int32_t tlen)
{
if (tp != NULL) {
tcp_dropwithreset(m, th, tp, tlen, rstreason);
tcp_dropwithreset(m, th, tp, tlen, rstreason);
if (tp != NULL)
INP_WUNLOCK(tptoinpcb(tp));
} else
tcp_dropwithreset(m, th, NULL, tlen, rstreason);
}
void