summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svcsock.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-08-14 18:57:59 +0200
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-08-21 17:27:44 +0200
commitfbf4665f41b02e757ab9d9198df65e319388e728 (patch)
treeec0b8b4f3809ee38088504bf51440ee12f501085 /net/sunrpc/svcsock.c
parentnfsd: add support for NFSv4 callbacks over IPv6 (diff)
downloadlinux-fbf4665f41b02e757ab9d9198df65e319388e728.tar.xz
linux-fbf4665f41b02e757ab9d9198df65e319388e728.zip
nfsd: populate sin6_scope_id on callback address with scopeid from rq_addr on SETCLIENTID call
When a SETCLIENTID call comes in, one of the args given is the svc_rqst. This struct contains an rq_addr field which holds the address that sent the call. If this is an IPv6 address, then we can use the sin6_scope_id field in this address to populate the sin6_scope_id field in the callback address. AFAICT, the rq_addr.sin6_scope_id is non-zero if and only if the client mounted the server's link-local address. Signed-off-by: Jeff Layton <jlayton@redhat.com> Acked-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'net/sunrpc/svcsock.c')
0 files changed, 0 insertions, 0 deletions