Re: [PATCH ath-current v2 1/8] wifi: ath12k: fix out-of-bounds clear_bit in ath12k_mac_dp_peer_cleanup()

Jeff Johnson <[email protected]> Thu, 23 Jul 2026 08:50:41 -0700
Newsgroups org.infradead.lists.ath12k,org.kernel.vger.linux-wireless
Message-ID <[email protected]>
On 7/23/2026 8:45 AM, Jeff Johnson wrote:
>> +			clear_bit(ahsta->ml_peer_id, ah->free_ml_peer_id_map);
>> +			ahsta->ml_peer_id = ATH12K_MLO_PEER_ID_INVALID;
> 
> so this now matches the code at the end of ath12k_mac_ml_station_remove() and
> in the cleanup section of ath12k_mac_op_sta_state(), so perhaps that should be
> refactored into a helper function in the future

which I now see in patch 3/8 :)