• J
    s390/qeth: be drop monitor friendly · 104b4859
    Julian Wiedmann 提交于
    As part of the TX completion path, qeth_release_skbs() frees the completed
    skbs with __skb_queue_purge(). This ends in kfree_skb(), reporting every
    completed skb as dropped.
    On the other hand when dropping an skb in .ndo_start_xmit, we end up
    calling consume_skb()... where we should be using kfree_skb() so that
    drop monitors get notified.
    
    Switch the drop/consume logic around, and also don't accumulate dropped
    packets in the tx_errors statistics.
    
    Fixes: dc149e37 ("s390/qeth: replace open-coded skb_queue_walk()")
    Signed-off-by: NJulian Wiedmann <jwi@linux.ibm.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    104b4859
qeth_core_main.c 169.0 KB
反馈
建议
客服 返回
顶部