qcacmn: skip processing duplicate descriptor in dp_rx_err_mpdu_pop

If there's a HW duplicate rx descriptor from hardware,
it'll cause a NULL pointer issue in
__dma_inv_range in dp_rxdma_err_process.
In this case, skip procssing it as a workaround.

CRs-Fixed: 2398327
Change-Id: I5639e5fc9a3a06e6762448ec7cb2ea58d9ae8160
这个提交包含在:
nwzhao
2019-01-31 11:43:17 -08:00
提交者 nshrivas
父节点 f1313ba77e
当前提交 ea2ffbb331
修改 4 个文件,包含 46 行新增1 行删除

查看文件

@@ -7039,6 +7039,9 @@ dp_print_soc_rx_stats(struct dp_soc *soc)
DP_PRINT_STATS("RX REL DUP DESC: %d",
soc->stats.rx.err.hal_wbm_rel_dup);
DP_PRINT_STATS("RXDMA ERR DUP DESC: %d",
soc->stats.rx.err.hal_rxdma_err_dup);
for (i = 0; i < HAL_RXDMA_ERR_MAX; i++) {
index += qdf_snprint(&rxdma_error[index],
DP_RXDMA_ERR_LENGTH - index,