TencentOS-kernel/drivers/s390
Julian Wiedmann a66e22ca90 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: f13ade199391 ("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-04-12 12:51:16 +08:00
..
block s390/dasd: fix list corruption of lcu list 2021-03-16 16:43:28 +08:00
char Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
cio s390/cio: fix use-after-free in ccw_device_destroy_console 2021-03-16 16:43:10 +08:00
crypto s390/pkey: fix paes selftest failure with paes and pkey static build 2021-03-16 16:40:28 +08:00
net s390/qeth: fix L2 header access in qeth_l3_osa_features_check() 2021-04-12 12:51:16 +08:00
scsi scsi: zfcp: Fix use-after-free in request timeout handlers 2021-03-16 16:34:30 +08:00
virtio Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
Makefile Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00