udp_tunnel: add config option to bind to a device
UDP tunnel sockets are always opened unbound to a specific device. This patch allow the socket to be bound on a custom device, which incidentally makes UDP tunnels VRF-aware if binding to an l3mdev. Signed-off-by: NAlexis Bauvin <abauvin@scaleway.com> Reviewed-by: NAmine Kherbouche <akherbouche@scaleway.com> Tested-by: NAmine Kherbouche <akherbouche@scaleway.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录