[PATCH net-next v3 0/2] net: add local address bind support to vxlan and geneve

From: Richard Gobert
Date: Thu Jul 11 2024 - 09:15:57 EST


This series adds local address bind support to both vxlan
and geneve sockets.

v2 -> v3:
- Fix typo and nit problem (Simon)
- v2: https://lore.kernel.org/netdev/20240708111103.9742-1-richardbgobert@xxxxxxxxx/

v1 -> v2:
- Change runtime checking of CONFIG_IPV6 to compile time in geneve
- Change {geneve,vxlan}_find_sock to check listening address
- Fix incorrect usage of IFLA_VXLAN_LOCAL6 in geneve
- Use NLA_POLICY_EXACT_LEN instead of changing strict_start_type in geneve
- v1: https://lore.kernel.org/netdev/df300a49-7811-4126-a56a-a77100c8841b@xxxxxxxxx/

Richard Gobert (2):
net: vxlan: enable local address bind for vxlan sockets
net: geneve: enable local address bind for geneve sockets

drivers/net/geneve.c | 82 +++++++++++++++++++++++++++---
drivers/net/vxlan/vxlan_core.c | 55 ++++++++++++++------
include/net/geneve.h | 6 +++
include/uapi/linux/if_link.h | 2 +
tools/include/uapi/linux/if_link.h | 2 +
5 files changed, 124 insertions(+), 23 deletions(-)

--
2.36.1