Re: [PATCH net] net/sched: cbs: fix 32-bit overflow in transmission time estimate

From: Mohamed Dawod

Date: Mon Nov 23 2026 - 06:42:20 EST


Thank you for the review.

Regarding the two additional findings:

Both issues concerning the signed 64-bit rate conversions in cbs_change() and cbs_set_port_rate() are already addressed by a separate patch series submitted by Jack Wang:

[PATCH net v3] net/sched: cbs: perform rate conversions in signed 64-bit arithmetic
https://lore.kernel.org/netdev/

My patch addresses a separate issue in cbs_dequeue_soft(), where the multiplication of len by NSEC_PER_SEC overflows on 32-bit architectures, resulting in an incorrect packet transmission-time estimate.

I intend to keep these fixes separate to avoid duplicating the changes already covered by Jack Wang's patch series.