Unverified Commit 30c63f96 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!12717 wifi: ath12k: fix array out-of-bound access in SoC stats

parents 78da1ab0 a4a4d6b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2670,7 +2670,7 @@ int ath12k_dp_rx_process(struct ath12k_base *ab, int ring_id,
		if (push_reason !=
		    HAL_REO_DEST_RING_PUSH_REASON_ROUTING_INSTRUCTION) {
			dev_kfree_skb_any(msdu);
			ab->soc_stats.hal_reo_error[dp->reo_dst_ring[ring_id].ring_id]++;
			ab->soc_stats.hal_reo_error[ring_id]++;
			continue;
		}