summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2021-01-07 20:24:42 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-08 05:54:06 +0300
commitf9c4845385c8f6631ebd5dddfb019ea7a285fba4 (patch)
treebedb6bc2f29d9782c6c8807f940dd53b9582b17b /scripts/gdb/linux/utils.py
parentb41b554c1ee75070a14c02a88496b1f231c7eacc (diff)
downloadlinux-f9c4845385c8f6631ebd5dddfb019ea7a285fba4.tar.xz
s390/qeth: fix L2 header access in qeth_l3_osa_features_check()
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions