linux/drivers/s390/net
Julian Wiedmann fc1c907da5 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:05:32 +01:00
..
Kconfig
Makefile
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
lcs.c
lcs.h
netiucv.c
qeth_core.h
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
qeth_core_mpc.h
qeth_core_sys.c
qeth_ethtool.c
qeth_l2.h
qeth_l2_main.c
qeth_l2_sys.c
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
smsgiucv.c
smsgiucv.h
smsgiucv_app.c