qcacmn: fix mon vap RX skb size issues
1) for raw mode, drop frames with invalid size 2) for non-raw mode, fixed issue that frag list data_len's not properly calculated The length issues will introduce kernel issues during skb_linearize() at upper OS network stack layer. Symptoms: 1) WARNING: at net/core/skbuff.c:1782 PC is at skb_copy_bits+0x1b8/0x230 2) kernel BU at net/core/skbuff.c:1615! PC is at __pskb_pull_tail+0x70/0x2e4 CRs-fixed: 2188754 Change-Id: I848ec976cd922708ffd02d8272ea5a6f3bce2a00
这个提交包含在:
@@ -4800,6 +4800,8 @@ dp_print_pdev_rx_stats(struct dp_pdev *pdev)
|
||||
DP_PRINT_STATS("Dropped:");
|
||||
DP_PRINT_STATS(" msdu_not_done = %d",
|
||||
pdev->stats.dropped.msdu_not_done);
|
||||
DP_PRINT_STATS(" mon_rx_drop = %d",
|
||||
pdev->stats.dropped.mon_rx_drop);
|
||||
DP_PRINT_STATS("Sent To Stack:");
|
||||
DP_PRINT_STATS(" Packets = %d",
|
||||
pdev->stats.rx.to_stack.num);
|
||||
|
在新工单中引用
屏蔽一个用户