Skip to content

wifi: ath12k: fix monitor RX buffer lifecycle issues

Kang Yang ath12k linux-wireless 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6wifi: ath12k: fix skb leak on paddr mismatch in wifi7 mon RX popdrivers/net/wireless/ath/ath12k/wifi7/dp_mon.c+0 -10 replies
2/6wifi: ath12k: free pending MSDUs on duplicate mon link descriptordrivers/net/wireless/ath/ath12k/wifi7/dp_mon.c+2 -00 replies
3/6wifi: ath12k: fix stale tail_msdu pointer returned from mpdu_popdrivers/net/wireless/ath/ath12k/wifi7/dp_mon.c+1 -10 replies
4/6wifi: ath12k: place dp_mon_mpdu on stack in mon dst reap loopdrivers/net/wireless/ath/ath12k/wifi7/dp_mon.c+8 -110 replies
5/6wifi: ath12k: fix skb leak on monitor PPDU ID wraparounddrivers/net/wireless/ath/ath12k/dp_mon.c drivers/net/wireless/ath/ath12k/dp_mon.h+8 -90 replies
6/6wifi: ath12k: avoid double DMA unmap of held monitor RX buffersdrivers/net/wireless/ath/ath12k/dp.c+5 -40 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchVasanthakumar ThiagarajanBaochen Qiang
SeriesR-b R-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH ath-next 0/6] wifi: ath12k: fix monitor RX buffer lifecycle issues

This series fixes several monitor RX buffer management bugs in the monitor destination path.

The fixes address leaked skb buffers, stale monitor descriptor state, object lifetime issues, and incorrect DMA unmap handling observed in various error and corner cases.

Kang Yang (6):
wifi: ath12k: fix skb leak on paddr mismatch in wifi7 mon RX pop
wifi: ath12k: free pending MSDUs on duplicate mon link descriptor
wifi: ath12k: fix stale tail_msdu pointer returned from mpdu_pop
wifi: ath12k: place dp_mon_mpdu on stack in mon dst reap loop
wifi: ath12k: fix skb leak on monitor PPDU ID wraparound
wifi: ath12k: avoid double DMA unmap of held monitor RX buffers

 drivers/net/wireless/ath/ath12k/dp.c          |  9 +++----
 drivers/net/wireless/ath/ath12k/dp_mon.c      | 15 ++++++------
 drivers/net/wireless/ath/ath12k/dp_mon.h      |  2 +-
 .../net/wireless/ath/ath12k/wifi7/dp_mon.c    | 24 +++++++++----------
 4 files changed, 24 insertions(+), 26 deletions(-)

base-commit: c3bace8584ca707e34ba837f65c2e9d566af4c2c

Signature · 1 line
2.34.1