tcp bbr: improve code consistency

Improve code consistency with the RACK stack.
Reviewed by:		gallatin, rscheff
MFC after:		3 days
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D44800
This commit is contained in:
Michael Tuexen 2024-04-15 23:52:08 +02:00
parent 3075939da4
commit 605a00660e

View file

@ -11807,7 +11807,7 @@ bbr_output_wtime(struct tcpcb *tp, const struct timeval *tv)
uint32_t recwin, sendwin;
int32_t sb_offset;
int32_t flags, abandon, error = 0;
struct tcp_log_buffer *lgb = NULL;
struct tcp_log_buffer *lgb;
struct mbuf *m;
struct mbuf *mb;
uint32_t if_hw_tsomaxsegcount = 0;
@ -13590,12 +13590,12 @@ send:
mtu = inp->inp_route.ro_nh->nh_mtu;
}
#endif /* INET */
out:
if (lgb) {
lgb->tlb_errno = error;
lgb = NULL;
}
out:
/*
* In transmit state, time the transmission and arrange for the
* retransmit. In persist state, just set snd_max.