https://github.com/torvalds/linux
Revision f9c4845385c8f6631ebd5dddfb019ea7a285fba4 authored by Julian Wiedmann on 07 January 2021, 17:24:42 UTC, committed by Jakub Kicinski on 08 January 2021, 02:54:06 UTC
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>
1 parent b41b554
Raw File
Tip revision: f9c4845385c8f6631ebd5dddfb019ea7a285fba4 authored by Julian Wiedmann on 07 January 2021, 17:24:42 UTC
s390/qeth: fix L2 header access in qeth_l3_osa_features_check()
Tip revision: f9c4845
.get_maintainer.ignore
Christoph Hellwig <hch@lst.de>
Marc Gonzalez <marc.w.gonzalez@free.fr>
back to top