linux_dsm_epyc7002/drivers/s390/net
Julian Wiedmann af9b4ab6ee s390/qeth: fix L2 header access in qeth_l3_osa_features_check()
[ Upstream commit f9c4845385c8f6631ebd5dddfb019ea7a285fba4 ]

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:16:58 +01:00
..
ctcm_dbug.c
ctcm_dbug.h
ctcm_fsms.c
ctcm_fsms.h s390/ctcm: remove orphaned function declarations 2020-10-02 16:22:49 -07:00
ctcm_main.c
ctcm_main.h
ctcm_mpc.c
ctcm_mpc.h s390/ctcm: remove orphaned function declarations 2020-10-02 16:22:49 -07:00
ctcm_sysfs.c
fsm.c
fsm.h
ism_drv.c s390/ism: fix incorrect system EID 2020-10-26 16:29:14 -07:00
ism.h
Kconfig
lcs.c
lcs.h
Makefile
netiucv.c
qeth_core_main.c s390/qeth: fix locking for discipline setup / removal 2021-01-17 14:16:58 +01:00
qeth_core_mpc.c
qeth_core_mpc.h
qeth_core_sys.c s390/qeth: use netdev_name() 2020-10-02 16:22:49 -07:00
qeth_core.h s390/qeth: fix deadlock during recovery 2021-01-17 14:16:58 +01:00
qeth_ethtool.c s390/qeth: allow configuration of TX queues for OSA devices 2020-10-02 16:22:49 -07:00
qeth_l2_main.c s390/qeth: fix locking for discipline setup / removal 2021-01-17 14:16:58 +01:00
qeth_l2_sys.c
qeth_l2.h
qeth_l3_main.c s390/qeth: fix L2 header access in qeth_l3_osa_features_check() 2021-01-17 14:16:58 +01:00
qeth_l3_sys.c s390/qeth: static checker cleanups 2020-10-02 16:22:49 -07:00
qeth_l3.h
smsgiucv_app.c
smsgiucv.c
smsgiucv.h