ChloƩ, the LLM flagged this upstream change, which I didn't verify,
could you please check? I won't block on it, though (the LLM could have
hallucinated):
"""
src/usr/bin/google_set_multiqueue, lines 472-475, captures complete ethtool -g
lines such as RX: 8128 and RX: 1024, rather than their numeric final fields.
Lines 476-484 then use those strings in Bash arithmetic comparisons. Bash
reports arithmetic syntax errors and each guard evaluates false, so the
function continues to ethtool -G ... rx 4096 tx 4096.
This defeats both safeguards claimed by upstream commit 4854224a10e7: it does
not reject devices whose maximum ring size is below 4096, and it does not
preserve a non-default administrator configuration. A reproduction using the
upload's function with maximums of 8128/8160 and current values of 1024/1024
emitted four arithmetic errors and still reported that it set the rings to
4096/4096.
"""
This is the extent of my verification:
# ethtool -g enx605b3011481c | awk '/RX:/{print; exit}'
RX: 4096
So it looks like the "RX:" text is captured too, and later used in a number
comparison:
if [[ $max_rx -lt $IDPF_RX_RING_LENGTH ]]; then
** Changed in: gce-compute-image-packages (Ubuntu Resolute)
Status: New => Fix Committed
** Tags added: verification-needed-resolute
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2165036
Title:
[SRU][FFE] Please update to version 20260819.00
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gce-compute-image-packages/+bug/2165036/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs