Re: [net,v2] net: wwan: qcom_bam_dmux: account network packets

From
Dmitry Sinyavin <hidden>
Date
2026-09-03 08:24:36
Also in
linux-arm-msm, lkml
Reply to
netdev-bot+sashiko@kernel.org, 2026-09-02
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,…
Thread (5 messages) 5 messages, 3 authors, last reply 2026-09-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help