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
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D44800
(cherry picked from commit 605a00660e)
This commit is contained in:
parent
5344772af9
commit
14d7784332
1 changed files with 3 additions and 3 deletions
|
|
@ -11805,7 +11805,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;
|
||||
|
|
@ -13588,12 +13588,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