1
0
Fork 0
alistair23-linux/drivers/s390/net
Julian Wiedmann fc1c907da5 s390/qeth: fix L2 header access in qeth_l3_osa_features_check()
[ Upstream commit f9c4845385 ]

ip_finish_output_gso() may call .ndo_features_check() even before the
skb has a L2 header. This conflicts with qeth_get_ip_version()'s attempt
to inspect the L2 header via vlan_eth_hdr().

Switch to vlan_get_protocol(), as already used further down in the
common qeth_features_check() path.

Fixes: f13ade1993 ("s390/qeth: run non-offload L3 traffic over common xmit path")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-17 14:05:32 +01:00
..
Kconfig s390/Kconfig: pedantic cleanups 2019-06-04 15:03:46 +02:00
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 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: fix error return code in ism_probe() 2020-05-20 08:20:26 +02:00
lcs.c s390/lcs: don't use intparm for channel IO 2019-08-20 13:51:46 -07:00
lcs.h
netiucv.c
qeth_core.h s390/qeth: fix af_iucv notification race 2020-12-02 08:49:51 +01:00
qeth_core_main.c s390/qeth: fix tear down of async TX buffers 2020-12-02 08:49:51 +01: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: fix dangling IO buffers after halt/clear 2020-01-26 10:01:09 +01:00
qeth_core_sys.c s390/qeth: don't return -ENOTSUPP to userspace 2020-01-12 12:21:44 +01:00
qeth_ethtool.c s390/qeth: add TX NAPI support for IQD devices 2019-08-24 16:39:18 -07:00
qeth_l2.h
qeth_l2_main.c s390/qeth: don't let HW override the configured port role 2020-10-29 09:58:10 +01:00
qeth_l2_sys.c s390/qeth: fix promiscuous mode after reset 2020-01-12 12:21:44 +01:00
qeth_l3.h
qeth_l3_main.c s390/qeth: fix L2 header access in qeth_l3_osa_features_check() 2021-01-17 14:05:32 +01:00
qeth_l3_sys.c s390/qeth: lock the card while changing its hsuid 2020-01-17 19:49:06 +01:00
smsgiucv.c
smsgiucv.h
smsgiucv_app.c