Skip to content

nfsd: add support for NFSv4 callbacks over IPv6 (try #3)

Jeff Layton linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nfsd: convert nfs4_cb_conn struct to hold address in sockaddr_storagefs/nfsd/nfs4callback.c fs/nfsd/nfs4state.c include/linux/nfsd/state.h+13 -150 replies
2/4nfsd: make nfs4_client->cl_addr a struct sockaddr_storagefs/nfsd/nfs4state.c include/linux/nfsd/state.h+58 -142 replies
3/4nfsd: convert gen_callback to use rpc_uaddr2sockaddrfs/nfsd/nfs4state.c+7 -750 replies
4/4nfsd: add support for NFSv4 callbacks over IPv6fs/nfsd/nfs4state.c+25 -60 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/4] nfsd: add support for NFSv4 callbacks over IPv6 (try #3)

Third attempt at a patchset to add support for NFSv4 callbacks over IPv6. The main change here is that this set uses the standard routines for address conversion that were recently added to the RPC layer in Bruce's tree. Not only does this add IPv6 support but it's a net code reduction.

There are also some other minor cleanups. The set should apply cleanly to Bruce's tree as of earlier today.

Tested using opensolaris and linux clients and watching the traffic with wireshark.

Jeff Layton (4):
nfsd: convert nfs4_cb_conn struct to hold address in sockaddr_storage
nfsd: make nfs4_client->cl_addr a struct sockaddr_storage
nfsd: convert gen_callback to use rpc_uaddr2sockaddr
nfsd: add support for NFSv4 callbacks over IPv6

 fs/nfsd/nfs4callback.c     |   11 +--
 fs/nfsd/nfs4state.c        |  176 ++++++++++++++++++++++----------------------
 include/linux/nfsd/state.h |    6 +-
 3 files changed, 93 insertions(+), 100 deletions(-)