Re: [PATCH ath-next] wifi: ath12k: set MSDU payload correctly

From: Baochen Qiang

Date: Mon Oct 26 2026 - 01:46:41 EST




On 10/20/2026 3:52 PM, Kang Yang wrote:
> ath12k_dp_mon_rx_merg_msdus() mistakenly passes head_msdu to
> ath12k_dp_mon_rx_msdus_set_payload() while iterating over all MSDUs in
> the chain.
>
> As a result, skb_pull() is applied repeatedly to the head MSDU, whereas
> the remaining MSDUs are never adjusted.
>
> Pass the current MSDU instead so each MSDU is processed exactly once.
>
> Also rename the helper parameter from head_msdu to msdu since the helper
> operates on any MSDU in the chain.
>
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3
>
> Fixes: 1cf514fdc790 ("wifi: ath12k: use different packet offset for WCN7850")
> Signed-off-by: Kang Yang <kang.yang@xxxxxxxxxxxxxxxx>

Reviewed-by: Baochen Qiang <baochen.qiang@xxxxxxxxxxxxxxxx>