linux-stable/drivers/s390/net
Julian Wiedmann 7d4faee7c6 s390/qeth: drop unwanted packets earlier in RX path
Packets with an unexpected HW format are currently first extracted from
the RX buffer, passed upwards to the layer-specific driver and only then
finally dropped.

Enhance the RX path so that we can drop such packets before even
allocating an skb. For this, add some additional logic so that when a
packet is meant to be dropped, we can still walk along the packet's data
chunks in the RX buffer. This allows us to extract the following
packet(s) from the buffer.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-11-14 18:16:51 -08:00
..
ctcm_dbug.c
ctcm_dbug.h
ctcm_fsms.c s390/ctcm: don't use intparm for channel IO 2019-08-20 13:51:46 -07:00
ctcm_fsms.h
ctcm_main.c s390/ctcm: Delete unnecessary checks before the macro call “dev_kfree_skb” 2019-09-16 21:45:32 +02:00
ctcm_main.h
ctcm_mpc.c s390/ctcm: don't use intparm for channel IO 2019-08-20 13:51:46 -07:00
ctcm_mpc.h
ctcm_sysfs.c
fsm.c
fsm.h
ism.h s390/ism: move oddities of device IO to wrapper function 2019-04-29 10:47:01 +02:00
ism_drv.c s390/ism: move oddities of device IO to wrapper function 2019-04-29 10:47:01 +02:00
Kconfig s390/Kconfig: pedantic cleanups 2019-06-04 15:03:46 +02:00
lcs.c s390/lcs: don't use intparm for channel IO 2019-08-20 13:51:46 -07:00
lcs.h
Makefile s390/qeth: move ethtool code into its own file 2019-02-15 20:35:29 -08:00
netiucv.c
qeth_core.h s390/qeth: support per-frame invalidation 2019-11-14 18:16:50 -08:00
qeth_core_main.c s390/qeth: drop unwanted packets earlier in RX path 2019-11-14 18:16:51 -08: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: support per-frame invalidation 2019-11-14 18:16:50 -08:00
qeth_core_sys.c s390/qeth: use IS_* helpers for checking device type 2019-04-26 11:14:06 -04:00
qeth_ethtool.c s390/qeth: gather more detailed RX dropped/error statistics 2019-11-14 18:16:50 -08:00
qeth_l2.h s390/qeth: clean up exported symbols 2018-07-12 16:42:39 -07:00
qeth_l2_main.c s390/qeth: drop unwanted packets earlier in RX path 2019-11-14 18:16:51 -08:00
qeth_l2_sys.c
qeth_l3.h s390/qeth: don't cache MAC addresses for multicast IPs 2019-10-31 12:32:59 -07:00
qeth_l3_main.c s390/qeth: drop unwanted packets earlier in RX path 2019-11-14 18:16:51 -08:00
qeth_l3_sys.c s390/qeth: use IS_* helpers for checking device type 2019-04-26 11:14:06 -04:00
smsgiucv.c
smsgiucv.h
smsgiucv_app.c