From: willemb@google.com
To: Mohamed Dawod <mhm.dawod@gmail.com>, netdev-bot+sashiko@kernel.org
Cc: netdev@vger.kernel.org, vinicius.gomes@intel.com,
jhs@mojatatu.com, jiri@resnulli.us, davem@davemloft.net,
edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
horms@kernel.org, ye.zh-yuan@socionext.com,
linux-kernel@vger.kernel.org, 163wangjack@gmail.com
Subject: Re: [PATCH net v2] net/sched: cbs: fix 32-bit overflow in transmission time estimate
Date: Mon, 30 Nov 2026 10:02:57 -0500 [thread overview]
Message-ID: <willemb.3b2f9c65d2223@google.com> (raw)
In-Reply-To: <20261123121513.2112743-1-mhm.dawod@gmail.com>
Mohamed Dawod wrote:
> Thank you for the review.
> I agree with the concern that my patch alone does not guarantee
> idleslope-limited throughput on 32-bit kernels affected by the
> signed/unsigned rate-conversion issue.
> However, this is a separate issue that is already addressed by Jack
> Wang's patch series:
> [PATCH net v3] net/sched: cbs: perform rate conversions in signed 64-bit
> arithmetic
> https://lkml.iu.edu/2608.1/09680.html
> My patch fixes the overflow in the transmission-time calculation in
> cbs_dequeue_soft(), while Jack's patch fixes the rate conversions in
> cbs_change() and cbs_set_port_rate().
> Both fixes are needed for correct software CBS operation on affected
> 32-bit kernels.
> I believe these changes should be integrated in the appropriate order,
> with the rate-conversion fix applied before my patch, so that the
> complete CBS functionality is restored.
That patch was sent in August and evidently not applied.
The most recent version still had feedback to address:
https://lore.kernel.org/netdev/83a768c4-1200-4baa-bdc2-9d20960dc6d1@redhat.com/
If your patch must be applied after that, can you send a series that
combines
all the work. Or can the original author (Cc:ed) resubmit?
next prev parent reply other threads:[~2026-11-30 15:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 6:41 Mohamed Dawod
2026-11-23 6:45 ` netdev-bot+sashiko
2026-11-23 12:15 ` Mohamed Dawod
2026-11-30 15:02 ` willemb [this message]
2026-11-30 17:02 ` Jack wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=willemb.3b2f9c65d2223@google.com \
--to=willemb@google.com \
--cc=163wangjack@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhm.dawod@gmail.com \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=vinicius.gomes@intel.com \
--cc=ye.zh-yuan@socionext.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®