From: Jeff Layton Date: Fri, 14 Aug 2009 16:57:59 +0000 (-0400) Subject: nfsd: populate sin6_scope_id on callback address with scopeid from rq_addr on SETCLIE... X-Git-Tag: v2.6.32-rc1~412^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbf4665f41b02e757ab9d9198df65e319388e728;p=pandora-kernel.git 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 Acked-by: Chuck Lever Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed