From: Dmitry Sinyavin <sinyavin@gmail.com>
To: netdev-bot+sashiko@kernel.org
Cc: stephan@gerhold.net, stephan.gerhold@linaro.org,
loic.poulain@oss.qualcomm.com, ryazanov.s.a@gmail.com,
johannes@sipsolutions.net, andrew+netdev@lunn.ch,
davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, linux-arm-msm@vger.kernel.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [net,v2] net: wwan: qcom_bam_dmux: account network packets
Date: Thu, 3 Sep 2026 10:24:33 +0200 [thread overview]
Message-ID: <f81210b9-abb1-4e95-8995-f8ca1435583b@gmail.com> (raw)
In-Reply-To: <178838348238.3394541.9061693826070810058@kernel.org>
Thanks for the review. The TX completion concern is valid, and also
affects v3, I'll address it in v4. The netdev lifetime issue is
pre-existing and should be addressed separately together with proper DMA
teardown.
02.09.2026 23:11, netdev-bot+sashiko@kernel.org пишет:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue(s) to consider:
>
> Critical: 0 · High: 1 · Medium: 0 (1) · Low: 0 (1)
>
> - [High] Use-after-free write of the netdevice's core-allocated per-CPU
> statistics from the asynchronous BAM TX completion callback.
>
> Pre-existing issues:
> - [Medium] The driver allocates netdevs with alloc_netdev() in
> bam_dmux_register_netdev_work() but bam_dmux_remove() only calls…
> - [Low] Drop paths remain uncounted after the patch: the `drop:` label in
> bam_dmux_netdev_start_xmit() (drivers/net/wwan/qcom_bam_dmux.c,…
prev parent reply other threads:[~2026-09-03 8:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 18:10 [PATCH net v2] net: wwan: qcom_bam_dmux: account network packets Dmitry Sinyavin
2026-09-01 8:08 ` Loic Poulain
2026-09-02 12:43 ` Dmitry Sinyavin
2026-09-02 21:11 ` [net,v2] " netdev-bot+sashiko
2026-09-03 8:24 ` Dmitry Sinyavin [this message]
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=f81210b9-abb1-4e95-8995-f8ca1435583b@gmail.com \
--to=sinyavin@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=johannes@sipsolutions.net \
--cc=kuba@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loic.poulain@oss.qualcomm.com \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=ryazanov.s.a@gmail.com \
--cc=stephan.gerhold@linaro.org \
--cc=stephan@gerhold.net \
/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