Skip to content

AF_INET6 support for probe_bothports()

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mount command: full support for AF_INET6 addresses in probe_port()utils/mount/network.c+44 -100 replies
2/3mount command: support AF_INET6 in probe_nfsport() and probe_mntport()utils/mount/network.c+42 -160 replies
3/3mount command: AF_INET6 support for probe_bothports()utils/mount/network.c utils/mount/network.h+68 -210 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] AF_INET6 support for probe_bothports()

Hi Steve-

Here's the next step.

This small series of patches rewires probe_bothports() to support AF_INET6 addresses, now that the underlying functions can handle them.

Since legacy code in other parts of the mount command still use probe_bothports() and the clnt_addr_t data type, I've added a new function call to do the IPv6 duties. The old API still exists and continues to support only AF_INET, but under the covers it calls the new code.

Again, for the time being, this is used only for the legacy binary mount(2) interface. We will need this for umount later, and that is used to support both binary and text-based mounts.

---

Chuck Lever (3):
mount command: AF_INET6 support for probe_bothports() mount command: support AF_INET6 in probe_nfsport() and probe_mntport() mount command: full support for AF_INET6 addresses in probe_port()

 utils/mount/network.c |  178 +++++++++++++++++++++++++++++++++++++++----------
 utils/mount/network.h |    3 +
 2 files changed, 144 insertions(+), 37 deletions(-)
Signature · 1 line
Chuck Lever