]> git.baikalelectronics.ru Git - kernel.git/commit
geneve: Use ip_tunnel_key flow flags in route lookups
authorPaul Chaignon <paul@isovalent.com>
Mon, 25 Jul 2022 14:32:15 +0000 (16:32 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 26 Jul 2022 10:43:16 +0000 (12:43 +0200)
commitfb7fa0b7981c7ff439fcd70b9bd79967e40b4f97
tree0da23aeb470d443ce6486b448d232d90b3f5fca8
parenta72629ad3c0a705e2a02caded5df0efe5b371b06
geneve: 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 the 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/fcc2e0eea01e8ea465a180126366ec20596ba530.1658759380.git.paul@isovalent.com
drivers/net/geneve.c