qcacmn: Ensure nbuf count is less than no of segs
While preparing raw packets for transmission, the count of nbuf belonging to one mpdu must be less than the number of segments.This makes sure the frags array inside seg_info does not go out of bounds. Change-Id: I7fffba7f64da274aa73c558cfc63d90f4419a04d
此提交包含在:
@@ -6200,6 +6200,8 @@ dp_print_pdev_tx_stats(struct dp_pdev *pdev)
|
||||
pdev->stats.tx_i.raw.dma_map_error);
|
||||
DP_PRINT_STATS(" RAW pkt type[!data] error = %d",
|
||||
pdev->stats.tx_i.raw.invalid_raw_pkt_datatype);
|
||||
DP_PRINT_STATS(" Frags count overflow error = %d",
|
||||
pdev->stats.tx_i.raw.num_frags_overflow_err);
|
||||
DP_PRINT_STATS("Reinjected:");
|
||||
DP_PRINT_STATS(" Packets = %d",
|
||||
pdev->stats.tx_i.reinject_pkts.num);
|
||||
|
新增問題並參考
封鎖使用者