WSL2-Linux-Kernel/drivers/s390
Julian Wiedmann 104b48592b s390/qeth: be drop monitor friendly
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: dc149e3764 ("s390/qeth: replace open-coded skb_queue_walk()")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-03-18 18:34:45 -07:00
..
block s390 updates for the 5.1 merge window 2019-03-05 11:13:10 -08:00
char s390 updates for the 5.1 merge window 2019-03-05 11:13:10 -08:00
cio s390/cio: Use cpa range elsewhere within vfio-ccw 2019-02-26 18:30:13 +01:00
crypto s390 updates for the 5.1 merge window 2019-03-05 11:13:10 -08:00
net s390/qeth: be drop monitor friendly 2019-03-18 18:34:45 -07:00
scsi s390 updates for the 5.1 merge window 2019-03-05 11:13:10 -08:00
virtio virtio-ccw: wire up ->bus_name callback 2019-03-06 11:19:56 -05:00
Makefile kbuild: rename built-in.o to built-in.a 2018-03-26 02:01:19 +09:00