Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-6020 kerberos: bulk nob is not corrected on bulk writes
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
gss
/
gss_bulk.c
diff --git
a/lustre/ptlrpc/gss/gss_bulk.c
b/lustre/ptlrpc/gss/gss_bulk.c
index
41c6fe5
..
692735d
100644
(file)
--- a/
lustre/ptlrpc/gss/gss_bulk.c
+++ b/
lustre/ptlrpc/gss/gss_bulk.c
@@
-432,6
+432,10
@@
int gss_svc_unwrap_bulk(struct ptlrpc_request *req,
CERROR("failed decrypt bulk data: %x\n", maj);
RETURN(-EACCES);
}
+
+ /* mimic gss_cli_ctx_unwrap_bulk */
+ desc->bd_nob_transferred = desc->bd_nob;
+
break;
}