sm-notify: fix IPv4/IPv6 host notification
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sm-notify: fix multihomed address rotation and first-attempt address choiceutils/ | +4 | 0 replies | |
| 2/2 | sm-notify: use a separate socket per address familyutils/ | +163 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [nfs-utils PATCH 0/2] sm-notify: fix IPv4/IPv6 host notification
This series fixes sm-notify failing to notify peers in mixed IPv4/IPv6 setups.
Patch 1 fixes the address-list rotation in notify_host(), which orphaned addresses and sent the first packet to the wrong address, so a host with multiple addresses could never be reached.
Patch 2 reworks sm-notify to use a separate socket per address family instead of a single IPv6 socket relying on IPv4-mapped addresses. This removes the dependence on IPv4-mapped IPv6 addresses and lets a specific source address (-v / outgoing-addr) notify peers of both families.
Scott Mayhew (2):
sm-notify: fix multihomed address rotation and first-attempt address
choice
sm-notify: use a separate socket per address family
utils/statd/sm-notify.c | 255 ++++++++++++++++++++++++++-------------- 1 file changed, 164 insertions(+), 91 deletions(-)
Signature · 1 line
2.55.0