vxlan: use generic function for tunnel IPv6 route lookup
authorBeniamino Galvani <b.galvani@gmail.com>
Fri, 20 Oct 2023 11:55:29 +0000 (13:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Oct 2023 07:48:57 +0000 (08:48 +0100)
commit2aceb896ee18ae35b21b14c978d8c2ef8c7b439d
tree3ab731fb1793437d66bc0fd19ca3ebf04f979d96
parent69d72587c17b48e928f558d360f1b3c0574bf4dd
vxlan: use generic function for tunnel IPv6 route lookup

The route lookup can be done now via generic function
udp_tunnel6_dst_lookup() to replace the custom implementation in
vxlan6_get_route().

This is similar to what already done for IPv4 in commit 6f19b2c136d9
("vxlan: use generic function for tunnel IPv4 route lookup").

Suggested-by: Guillaume Nault <gnault@redhat.com>
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>
drivers/net/vxlan/vxlan_core.c