mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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:
parent
3075939da4
commit
605a00660e
1 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue