Based on review comments, I've changed how the NFSv4 callback server starts its listener. If the kernel has IPv6 support, it will start an AF_INET6 listener; otherwise it will start an AF_INET listener. Subsequent lockd IPv6 patches already work this way, it turns out, so I've updated the patch in this subseries that adds a helper to display NLM IPv6 addresses. If an IPv6 address is a mapped IPv4 address, it will be displayed as a dotted-quad instead of as an IPv6 address. This should cause the helper to display IPv4-style addresses on systems that use only IPv4, even though the listener is AF_INET6. This effects only error and debugging messages. I should revisit other areas (already integrated, and in pending patches) which display presentation format addresses, to ensure they follow suit. --- Chuck Lever (6): SUNRPC: Make svc_addr's argument a constant lockd: Add address family-agnostic helper for zeroing the port number lockd: Specify address family for source address lockd: address-family independent printable addresses NLM: Clean up before introducing new debugging messages NFS: Enable NFSv4 callback server to listen on AF_INET6 sockets fs/lockd/host.c | 123 +++++++++++++++++++++++++++++++++---------- fs/nfs/callback.c | 19 +++++-- include/linux/lockd/lockd.h | 4 + include/linux/sunrpc/svc.h | 6 +- 4 files changed, 115 insertions(+), 37 deletions(-) -- Chuck Lever -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html