diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2006-06-30 04:56:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-30 14:25:41 -0400 |
commit | 7c9fdcfb1b64c47ed618c103b617af3f86e1239c (patch) | |
tree | da5cd781687bfa1db4c8ba9c9ff0bb4a84366a75 /net/sunrpc/svc.c | |
parent | 5c04c46aec16b3267d8fe03af886f2d41e448cd0 (diff) |
[PATCH] knfsd: svcrpc: gss: server-side implementation of rpcsec_gss privacy
Server-side implementation of rpcsec_gss privacy, which enables encryption of
the payload of every rpc request and response.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/sunrpc/svc.c')
-rw-r--r-- | net/sunrpc/svc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index fb168a30fd3f..01ba60a49572 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c | |||
@@ -280,6 +280,7 @@ svc_process(struct svc_serv *serv, struct svc_rqst *rqstp) | |||
280 | rqstp->rq_res.page_base = 0; | 280 | rqstp->rq_res.page_base = 0; |
281 | rqstp->rq_res.page_len = 0; | 281 | rqstp->rq_res.page_len = 0; |
282 | rqstp->rq_res.buflen = PAGE_SIZE; | 282 | rqstp->rq_res.buflen = PAGE_SIZE; |
283 | rqstp->rq_res.tail[0].iov_base = NULL; | ||
283 | rqstp->rq_res.tail[0].iov_len = 0; | 284 | rqstp->rq_res.tail[0].iov_len = 0; |
284 | /* Will be turned off only in gss privacy case: */ | 285 | /* Will be turned off only in gss privacy case: */ |
285 | rqstp->rq_sendfile_ok = 1; | 286 | rqstp->rq_sendfile_ok = 1; |