[PATCH ath-next] wifi: ath12k: Fix memory leak due to multiple rx_stats allocation

Jeff Johnson jeff.johnson at oss.qualcomm.com
Wed Apr 2 08:08:00 PDT 2025


On Wed, 26 Mar 2025 14:35:38 -0700, Muna Sinada wrote:
> rx_stats for each arsta is allocated when adding a station.
> arsta->rx_stats will be freed when a station is removed.
> 
> Redundant allocations are occurring when the same station is added
> multiple times. This causes ath12k_mac_station_add() to be called
> multiple times, and rx_stats is allocated each time. As a result there
> is memory leaks.
> 
> [...]

Applied, thanks!

[1/1] wifi: ath12k: Fix memory leak due to multiple rx_stats allocation
      commit: c426497fa2055c8005196922e7d29c41d7e0948a

Best regards,
-- 
Jeff Johnson <jeff.johnson at oss.qualcomm.com>




More information about the ath12k mailing list