Unverified Commit 74cd8520 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!13928 wifi: ath11k: fix array out-of-bound access in SoC stats

parents 929a9df3 2cb1031a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2600,7 +2600,7 @@ int ath11k_dp_process_rx(struct ath11k_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;
		}