# Re: \[net,v2\] net: wwan: qcom\_bam\_dmux: account network packets

- From: Dmitry Sinyavin \<hidden\>
- Date: 2026-09-03 08:24:36 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/09/17503207
- Thread: https://ratatoskr.run/linux-arm-msm/2026/08/17486979/t.md

```text
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,…
```
