This is a note to let you know that I've just added the patch titled geneve: Use ip_tunnel_key flow flags in route lookups to the 5.19-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: geneve-use-ip_tunnel_key-flow-flags-in-route-lookups.patch and it can be found in the queue-5.19 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 861396ac0b47780210b72c4fea359540965a4970 Mon Sep 17 00:00:00 2001 From: Paul Chaignon <paul@xxxxxxxxxxxxx> Date: Mon, 25 Jul 2022 16:32:15 +0200 Subject: geneve: Use ip_tunnel_key flow flags in route lookups From: Paul Chaignon <paul@xxxxxxxxxxxxx> commit 861396ac0b47780210b72c4fea359540965a4970 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 the subsequent commit. Signed-off-by: Paul Chaignon <paul@xxxxxxxxxxxxx> Signed-off-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx> Reviewed-by: Nikolay Aleksandrov <razor@xxxxxxxxxxxxx> Acked-by: Martin KaFai Lau <kafai@xxxxxx> Link: https://lore.kernel.org/bpf/fcc2e0eea01e8ea465a180126366ec20596ba530.1658759380.git.paul@xxxxxxxxxxxxx Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/net/geneve.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/geneve.c +++ b/drivers/net/geneve.c @@ -815,6 +815,7 @@ static struct rtable *geneve_get_v4_rt(s fl4->saddr = info->key.u.ipv4.src; fl4->fl4_dport = dport; fl4->fl4_sport = sport; + fl4->flowi4_flags = info->key.flow_flags; tos = info->key.tos; if ((tos == 1) && !geneve->cfg.collect_md) { Patches currently in stable-queue which might be from paul@xxxxxxxxxxxxx are queue-5.19/bpf-set-flow-flag-to-allow-any-source-ip-in-bpf_tunn.patch queue-5.19/ip_tunnels-add-new-flow-flags-field-to-ip_tunnel_key.patch queue-5.19/vxlan-use-ip_tunnel_key-flow-flags-in-route-lookups.patch queue-5.19/geneve-use-ip_tunnel_key-flow-flags-in-route-lookups.patch