diff options
author | NeilBrown <neilb@suse.de> | 2014-05-12 11:22:47 +1000 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-22 15:59:18 -0400 |
commit | ef11ce24875a8a540adc185e7bce3d7d49c8296f (patch) | |
tree | cd5f2a2281c3aa9f840611109453d9843376139c /include/linux/sunrpc/svc.h | |
parent | c789102c20bbbdda6831a273e046715be9d6af79 (diff) |
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>
Diffstat (limited to 'include/linux/sunrpc/svc.h')
-rw-r--r-- | include/linux/sunrpc/svc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index 04e76322124..a0dbbd1e00e 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h @@ -254,6 +254,7 @@ struct svc_rqst { u32 rq_prot; /* IP protocol */ unsigned short rq_secure : 1; /* secure port */ + unsigned short rq_local : 1; /* local request */ void * rq_argp; /* decoded arguments */ void * rq_resp; /* xdr'd results */ |