Skip to contentSkip to conversation

udp_tunnel: add config option to bind to a device

RFC David Ahern 2 participants 2 messages Nov 20, 2018 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Alexis Bauvin

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.

Quoted 9 lines
---
 include/net/udp_tunnel.h  |  1 +
 net/ipv4/udp_tunnel.c     | 10 ++++++++++
 net/ipv6/ip6_udp_tunnel.c |  9 +++++++++
 3 files changed, 20 insertions(+)

you need to check your command for sending patches. I only received 2 of 3 patches and no cover-letter.

I am not seeing any of them in the email account I use for netdev mail.

#3 lore raw
Quoted 16 lines · David Ahern
Quoted 4 lines · Alexis Bauvin

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.

Quoted 9 lines

---

include/net/udp_tunnel.h  |  1 +
net/ipv4/udp_tunnel.c     | 10 ++++++++++
net/ipv6/ip6_udp_tunnel.c |  9 +++++++++
3 files changed, 20 insertions(+)
Quoted 4 lines

you need to check your command for sending patches. I only received 2 of 3 patches and no cover-letter.

I am not seeing any of them in the email account I use for netdev mail.

Sorry for the noise: a configuration error from my side made your email servers reject my emails without any bounce.

I will re-send the patches.