]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82fad0d2b55fc63de5524764d15dc9f8314f3990
treecd5f2a2281c3aa9f840611109453d9843376139c
parent6e2ea71d61f9f43c87becfefd38f9ec1a5922fca
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