mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-12 11:21:55 +00:00
Fix BBRv3 patch
This commit is contained in:
parent
b37c0fdcbb
commit
6a08f4036a
1 changed files with 2 additions and 1 deletions
|
@ -2336,9 +2336,10 @@ index f2c6c5d31..1ce016437 100644
|
|||
u32 gso_max_size)
|
||||
{
|
||||
- u32 segs;
|
||||
- u64 bytes;
|
||||
+ struct bbr *bbr = inet_csk_ca(sk);
|
||||
+ u32 segs, r;
|
||||
u64 bytes;
|
||||
+ u32 bytes;
|
||||
|
||||
/* Budget a TSO/GSO burst size allowance based on bw (pacing_rate). */
|
||||
bytes = sk->sk_pacing_rate >> sk->sk_pacing_shift;
|
||||
|
|
Loading…
Reference in a new issue