geneve: Allow binding UDP socket to a specific address.
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest5 patches 0 repliesApplied 5/5
- v45 patches 4 repliesSuperseded
- v35 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 5 patches | 3 replies | Superseded | |
| v1 | 5 patches | 1 reply | Superseded |
Changes in v5 from the cover letter
* Patch 5 : Allow changelink with the same address : Dump LOCAL/LOCAL6 only when configured
Patches in v5 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | geneve: Reuse ipv6_addr_type() result in geneve_nl2info().drivers/ | +5 | 0 replies | Applied |
| 2/5 | geneve: Pass struct geneve_dev to geneve_create_sock().drivers/ | +9 | 0 replies | Applied |
| 3/5 | geneve: Pass struct geneve_dev to geneve_find_sock().drivers/ | +20 | 0 replies | Applied |
| 4/5 | geneve: Add dualstack flag to struct geneve_config.drivers/ | +16 | 0 replies | Applied |
| 5/5 | geneve: Introduce IFLA_GENEVE_LOCAL and IFLA_GENEVE_LOCAL6.Documentation/ drivers/ include/ | +169 | 0 replies | Applied |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Eric Dumazet |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 net-next 0/5] geneve: Allow binding UDP socket to a specific address.
By default, a GENEVE device bind()s its underlying UDP socket(s) to the IPv4 or IPv6 wildcard address because there is no way to specify a specific local IP address to bind() to.
This prevents deploying multiple GENEVE devices on a multi-homed host where each device should be isolated and bound to a different local IP address on the same UDP port.
This series introduces two options to specify local IPv4 or IPv6 addresses for a GENEVE device.
The corresponding iproute2 patch is here:
https://lore.kernel.org/netdev/[email protected]/
Once this series and the iproute2 patch land upstream, I'll add a small selftest.
Changes:
v5:
* Patch 5 : Allow changelink with the same address : Dump LOCAL/LOCAL6 only when configured
v4: https://lore.kernel.org/netdev/[email protected]/
* Patch 5 : Simplify validation in geneve_nl2info()
: Add ynl spec
v3: https://lore.kernel.org/netdev/[email protected]/
* Patch 5 : Use NLA_POLICY_EXACT_LEN() for IFLA_GENEVE_LOCAL6. Mention source address in error messages in geneve_configure().
v2: https://lore.kernel.org/netdev/[email protected]/
* Patch 1 : Move addr_type to if-block for CONFIG_IPV6=n
* Patch 4 : Don't set cfg->dualstack for IFLA_GENEVE_REMOTE6?
* Patch 5 : Validate saddr in geneve_xmit_skb() and geneve6_xmit_skb().
v1: https://lore.kernel.org/netdev/[email protected]/
Kuniyuki Iwashima (5):
geneve: Reuse ipv6_addr_type() result in geneve_nl2info().
geneve: Pass struct geneve_dev to geneve_create_sock().
geneve: Pass struct geneve_dev to geneve_find_sock().
geneve: Add dualstack flag to struct geneve_config.
geneve: Introduce IFLA_GENEVE_LOCAL and IFLA_GENEVE_LOCAL6.
Documentation/netlink/specs/rt-link.yaml | 9 + drivers/net/geneve.c | 254 +++++++++++++++++++---- include/uapi/linux/if_link.h | 2 + 3 files changed, 219 insertions(+), 46 deletions(-)
Signature · 1 line
2.54.0.1013.g208068f2d8-goog