Public bug reported:

[Impact]

The tc/tbf and tc/htb burst option is currently limited to 4 GiB
(UINT_MAX for a 32-bit unsigned int). However, the kernel internally
represents burst as “time at the configured rate,” which allows for
bursts exceeding 4 GiB at high speeds. Due to this limitation, large
bursts that are valid in the kernel cannot be configured from userspace.
Conversely, smaller bursts can silently overflow the internal burst time
calculation, causing invalid values to be passed to the kernel without
detection, potentially resulting in misconfigured queues and incorrect
rate limiting.


[Test plan]


[Where problems could occur]

Externally, the main impact is that commands which previously caused
silent overflows may now produce errors or fail. This could break
scripts or automation that relied on the old behavior, though those
scripts were already misbehaving due to the invalid configuration.

** Affects: iproute2 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: iproute2 (Ubuntu Jammy)
     Importance: Undecided
         Status: New

** Affects: iproute2 (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Affects: iproute2 (Ubuntu Questing)
     Importance: Undecided
         Status: New

** Affects: iproute2 (Ubuntu Resolute)
     Importance: Undecided
         Status: New

** Also affects: iproute2 (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Also affects: iproute2 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: iproute2 (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: iproute2 (Ubuntu Questing)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2147525

Title:
  [SRU] tc/tbf, tc/htb: Burst parameter capped at 4GB even though kernel
  can handle larger values

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/2147525/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to