nfsd: add support for NFSv4 callbacks over IPv6
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | nfsd: convert nfs4_callback struct to hold address in sockaddr_storagefs/ fs/ include/ | +13 | 0 replies | |
| 2/4 | nfsd: break out setclientid port parsing into separate routinefs/ | +30 | 0 replies | |
| 3/4 | nfsd: make nfs4_client->cl_addr a struct sockaddr_storagefs/ include/ | +76 | 0 replies | |
| 4/4 | nfsd: add support for NFSv4 callbacks over IPv6fs/ | +78 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] nfsd: add support for NFSv4 callbacks over IPv6
This patchset is a first pass at adding IPv6 callback channel support for knfsd. The set is fairly straightforward, but it does require a number of changes to server side NFSv4 related structs that store addresses in places that are only suitable for IPv4 addresses.
I've tested this by having Linux and OpenSolaris clients mount the server over an IPv6 socket, get a delegation and ensure that the server can recall that delegation. It all seems to work as expected. IPv4 callbacks also seem to continue to work correctly.
This patchset does change the some of the new 4.1 functions (nfsd4_exchange_id in particular). Those changes are untested as of yet but I'll see if I can do so if the approach in this set seems reasonable.
Comments welcome...
Jeff Layton (4):
nfsd: convert nfs4_callback struct to hold address in
sockaddr_storage
nfsd: break out setclientid port parsing into separate routine
nfsd: make nfs4_client->cl_addr a struct sockaddr_storage
nfsd: add support for NFSv4 callbacks over IPv6
fs/nfsd/nfs4callback.c | 11 +-- fs/nfsd/nfs4state.c | 220 ++++++++++++++++++++++++++++++++++++------- include/linux/nfsd/state.h | 6 +- 3 files changed, 189 insertions(+), 48 deletions(-)