1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2023-09-08 10:09:50 +02:00
parent b37c0fdcbb
commit 6a08f4036a

View file

@ -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;