]> www.infradead.org Git - users/dwmw2/linux.git/commit
ipv4: use tunnel flow flags for tunnel route lookups
authorBeniamino Galvani <b.galvani@gmail.com>
Mon, 16 Oct 2023 07:15:23 +0000 (09:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Oct 2023 08:57:52 +0000 (09:57 +0100)
commit3ae983a603a49e6c80763f747a170b7e987531f3
treef133b3f10e288c89bf2abaf722a43eeac097da2d
parent72fc68c6356b663a8763f02d9b0ec773d59a4949
ipv4: use tunnel flow flags for tunnel route lookups

Commit 451ef36bd229 ("ip_tunnels: Add new flow flags field to
ip_tunnel_key") added a new field to struct ip_tunnel_key to control
route lookups. Currently the flag is used by vxlan and geneve tunnels;
use it also in udp_tunnel_dst_lookup() so that it affects all tunnel
types relying on this function.

Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp_tunnel_core.c