[PATCH ath-next 2/6] wifi: ath12k: Add support for 4-address mode
Jeff Johnson
jeff.johnson at oss.qualcomm.com
Sun Jun 7 08:33:50 PDT 2026
On 5/25/2026 4:09 AM, Tamizh Chelvam Raja wrote:
...
> @@ -999,6 +1007,11 @@ static void ath12k_wifi7_mac_op_tx(struct ieee80211_hw *hw,
> skb_cb->vif = vif;
> skb_cb->ar = tmp_ar;
>
> + if (ahsta && ahsta->enable_4addr)
> + arsta = rcu_dereference(ahsta->link[link_id]);
> + else
> + arsta = NULL;
> +
Tamizh, please check the smatch warning at:
https://lore.kernel.org/oe-kbuild/202606051125.XaYVDQZf-lkp@intel.com/
This looks legitimate since there is a path where link_id can be 15, exceeding
the ahsta->link[] array.
/jeff
More information about the ath12k
mailing list