Skip to content

nfs-utils: convert gssd to TI-RPC and add IPv6 support (try #3)

Jeff Layton linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5nfs-utils: make getnameinfo() required for --enable-gssconfigure.ac+2 -01 reply
2/5nfs-utils: store the address given in the upcall for later useutils/gssd/gssd.h utils/gssd/gssd_proc.c+77 -173 replies
3/5nfs-utils: skip getaddrinfo in create_auth_rpc_client unless we need portutils/gssd/gssd_proc.c+77 -530 replies
4/5nfs-utils: switch gssd to use standard function for getting an RPC clientutils/gssd/gssd_proc.c+24 -291 reply
5/5nfs-utils: add IPv6 code to gssdutils/gssd/gssd_proc.c+34 -03 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/5] nfs-utils: convert gssd to TI-RPC and add IPv6 support (try #3)

This patchset is a second attempt at adding support for IPv6 to rpc.gssd. The main changes from the first set are some minor fixes and changes suggested by Chuck Lever and a change to use common code to spawn a new RPC client. This set is also based on mainline nfs-utils since the requisite patches for it are now there.

The series should be fully bisectable, but I've only really tested the end result for anything other than to see if it compiles. With these patches I've been able to mount an OpenSolaris server using NFSv3/4 + IPv6 + krb5 auth. I've also done testing with builds with only TIRPC enabled and with TIRPC and IPv6 both disabled and haven't seen any regressions.

Specific changes from the last set:
- check the validity of port given by an upcall
- check return code from snprintf()
- switched gssd to use nfs_get_rpcclient()
- pare down hints passed to getaddrinfo() in populate_port()

Jeff Layton (5):
nfs-utils: make getnameinfo() required for --enable-gss
nfs-utils: store the address given in the upcall for later use
nfs-utils: skip getaddrinfo in create_auth_rpc_client unless we need
port
nfs-utils: switch gssd to use standard function for getting an RPC
client
nfs-utils: add IPv6 code to gssd

 configure.ac           |    2 +
 utils/gssd/gssd.h      |    2 +-
 utils/gssd/gssd_proc.c |  285 +++++++++++++++++++++++++++++++++---------------
 3 files changed, 202 insertions(+), 87 deletions(-)