linux/drivers/s390/net
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
..
Kconfig
Makefile s390/qeth: move ethtool code into its own file 2019-02-15 20:35:29 -08:00
ctcm_dbug.c
ctcm_dbug.h
ctcm_fsms.c
ctcm_fsms.h
ctcm_main.c
ctcm_main.h
ctcm_mpc.c
ctcm_mpc.h
ctcm_sysfs.c
fsm.c
fsm.h
ism.h
ism_drv.c s390/ism: ignore some errors during deregistration 2019-02-20 09:48:32 +01:00
lcs.c
lcs.h
netiucv.c
qeth_core.h s390/qeth: drop redundant state checking 2019-02-28 12:55:26 -08:00
qeth_core_main.c s390/qeth: be drop monitor friendly 2019-03-18 18:34:45 -07:00
qeth_core_mpc.c s390/qeth: allow cmd callbacks to return errnos 2019-02-12 13:14:24 -05:00
qeth_core_mpc.h s390/qeth: split out OSN netdev ops 2019-02-15 20:35:30 -08:00
qeth_core_sys.c s390/qeth: drop redundant state checking 2019-02-28 12:55:26 -08:00
qeth_ethtool.c s390/qeth: add support for ETHTOOL_GRINGPARAM 2019-02-15 20:35:30 -08:00
qeth_l2.h
qeth_l2_main.c s390/qeth: be drop monitor friendly 2019-03-18 18:34:45 -07:00
qeth_l2_sys.c
qeth_l3.h
qeth_l3_main.c s390/qeth: be drop monitor friendly 2019-03-18 18:34:45 -07:00
qeth_l3_sys.c s390/qeth: remove RECOVER state 2019-02-28 12:55:25 -08:00
smsgiucv.c
smsgiucv.h
smsgiucv_app.c