]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vxlan: Use ip_tunnel_key flow flags in route lookups
authorPaul Chaignon <paul@isovalent.com>
Mon, 25 Jul 2022 14:31:58 +0000 (16:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 13:16:21 +0000 (15:16 +0200)
commit95b05bd36fe017e30cd1405c7750768f63715cf9
tree163aeb1e74363a7e868ac58f4531db74aae337d7
parent3229787d4ee8cd70872c85f2297370b6eb87b63f
vxlan: Use ip_tunnel_key flow flags in route lookups

commit 7e2fb8bc7ef6c7a63ca95751b90162dece0b3f4c upstream.

Use the new ip_tunnel_key field with the flow flags in the IPv4 route
lookups for the encapsulated packet. This will be used by the
bpf_skb_set_tunnel_key helper in a subsequent commit.

Signed-off-by: Paul Chaignon <paul@isovalent.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/1ffc95c3d60182fd5ec0cf6602083f8f68afe98f.1658759380.git.paul@isovalent.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/vxlan/vxlan_core.c