mbox series

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

Message ID 20240708111103.9742-1-richardbgobert@gmail.com (mailing list archive)
Headers show
Series net: add local address bind support to vxlan and geneve | expand

Message

Richard Gobert July 8, 2024, 11:11 a.m. UTC
This series adds local address bind support to both vxlan
and geneve sockets.

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

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               | 78 ++++++++++++++++++++++++++----
 drivers/net/vxlan/vxlan_core.c     | 52 ++++++++++++++------
 include/net/geneve.h               |  6 +++
 include/uapi/linux/if_link.h       |  2 +
 tools/include/uapi/linux/if_link.h |  2 +
 5 files changed, 116 insertions(+), 24 deletions(-)