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

From: Dmitry Sinyavin

Date: Thu Sep 03 2026 - 04:47:21 EST


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@xxxxxxxxxx пишет:
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,…