diff --git a/6.6/target/linux/generic/hack-6.6/997-BBRv3.patch b/6.6/target/linux/generic/hack-6.6/997-BBRv3.patch index 046672ed..3b21125e 100644 --- a/6.6/target/linux/generic/hack-6.6/997-BBRv3.patch +++ b/6.6/target/linux/generic/hack-6.6/997-BBRv3.patch @@ -1799,7 +1799,7 @@ Signed-off-by: Alexandre Frade + bytes = min_t(u32, bytes, gso_max_size - 1 - MAX_TCP_HEADER); - segs = max_t(u32, bytes / mss_now, bbr_min_tso_segs(sk)); -+ segs = max_t(u32, bytes / mss_now, ++ segs = max_t(u32, div_u64(bytes, mss_now), + sock_net(sk)->ipv4.sysctl_tcp_min_tso_segs); return segs; }