mbox series

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

Message ID 20240711131411.10439-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 11, 2024, 1:14 p.m. UTC
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@gmail.com/

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@gmail.com/

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(-)

Comments

Jakub Kicinski July 11, 2024, 10:39 p.m. UTC | #1
On Thu, 11 Jul 2024 15:14:09 +0200 Richard Gobert wrote:
> This series adds local address bind support to both vxlan
> and geneve sockets.

I think that this breaks a lot of vxlan related subtests:
https://netdev.bots.linux.dev/contest.html?pw-n=0&branch=net-next-2024-07-11--15-00&pw-n=0&pass=0