SUNRPC: track whether a request is coming from a loop-back interface.
authorNeilBrown <neilb@suse.de>
Mon, 12 May 2014 01:22:47 +0000 (11:22 +1000)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 22 May 2014 19:59:18 +0000 (15:59 -0400)
commitef11ce24875a8a540adc185e7bce3d7d49c8296f
treecd5f2a2281c3aa9f840611109453d9843376139c
parentc789102c20bbbdda6831a273e046715be9d6af79
SUNRPC: track whether a request is coming from a loop-back interface.

If an incoming NFS request is coming from the local host, then
nfsd will need to perform some special handling.  So detect that
possibility and make the source visible in rq_local.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc.h
include/linux/sunrpc/svc_xprt.h
net/sunrpc/sunrpc.h
net/sunrpc/svcsock.c