linux-sg2042/include/linux/sunrpc
Jeff Layton fbf4665f41 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>
2009-08-21 11:27:44 -04:00
..
Kbuild
auth.h
auth_gss.h
bc_xprt.h nfs41: Backchannel callback service helper routines 2009-06-17 14:11:28 -07:00
cache.h SUNRPC: Add an rpc_pipefs front end for the sunrpc cache code 2009-08-09 15:14:30 -04:00
clnt.h nfsd: populate sin6_scope_id on callback address with scopeid from rq_addr on SETCLIENTID call 2009-08-21 11:27:44 -04:00
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h gss_krb5: create a define for token header size and clean up ptr location 2008-06-23 13:47:25 -04:00
gss_spkm3.h
metrics.h
msg_prot.h SUNRPC: Clean up RPCBIND_MAXUADDRLEN definitions 2009-08-09 15:09:32 -04:00
rpc_pipe_fs.h nfs: fix compile error in rpc_pipefs.h 2009-08-20 18:20:25 -04:00
rpc_rdma.h
sched.h nfs41: Add backchannel processing support to RPC state machine 2009-06-17 14:11:24 -07:00
stats.h
svc.h nfsd41: use globals for DRC limits 2009-07-14 17:52:40 -04:00
svc_rdma.h svcrdma: Modify the RPC recv path to use FRMR when available 2008-10-06 14:46:01 -05:00
svc_xprt.h NFSD: Prevent a buffer overflow in svc_xprt_names() 2009-04-28 13:54:28 -04:00
svcauth.h
svcauth_gss.h nfsd: pass client principal name in rsc downcall 2008-12-23 16:17:15 -05:00
svcsock.h Merge branch 'for-2.6.31' of git://fieldses.org/git/linux-nfsd 2009-06-22 12:55:50 -07:00
timer.h
types.h
xdr.h sunrpc: ntoh -> be*_to_cpu 2009-08-14 13:12:52 -04:00
xprt.h SUNRPC: Kill RPC_DISPLAY_ALL 2009-08-09 15:09:46 -04:00
xprtrdma.h RPC/RDMA: harden connection logic against missing/late rdma_cm upcalls. 2008-10-10 15:13:31 -04:00
xprtsock.h