]> git.baikalelectronics.ru Git - kernel.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)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 26 Jul 2022 10:43:16 +0000 (12:43 +0200)
commita72629ad3c0a705e2a02caded5df0efe5b371b06
tree936b62c938fee1a1273be0b6ae48b19726b46592
parentc38db514065b65ade20c479ddb011e0d90def4b3
vxlan: Use ip_tunnel_key flow flags in route lookups

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
drivers/net/vxlan/vxlan_core.c