summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGuillaume Nault <gnault@redhat.com>2024-06-19 16:34:57 +0300
committerJakub Kicinski <kuba@kernel.org>2024-06-22 03:34:15 +0300
commit31392048f55f98cb01ca709d32d06d926ab9760a (patch)
tree60039844971472f7744bf49b0594434822fb842d /tools/perf/scripts/python/export-to-sqlite.py
parent8406b56a91ec458172c4fe1bb13038031e975b6a (diff)
downloadlinux-31392048f55f98cb01ca709d32d06d926ab9760a.tar.xz
vxlan: Pull inner IP header in vxlan_xmit_one().
Ensure the inner IP header is part of the skb's linear data before setting old_iph. Otherwise, on a non-linear skb, old_iph could point outside of the packet data. Unlike classical VXLAN, which always encapsulates Ethernet packets, VXLAN-GPE can transport IP packets directly. In that case, we need to look at skb->protocol to figure out if an Ethernet header is present. Fixes: d342894c5d2f ("vxlan: virtual extensible lan") Signed-off-by: Guillaume Nault <gnault@redhat.com> Link: https://patch.msgid.link/2aa75f6fa62ac9dbe4f16ad5ba75dd04a51d4b99.1718804000.git.gnault@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions