diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-06-16 19:57:32 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-06-22 19:21:18 +0200 |
commit | b76ce56192bcf618013fb9aecd83488cffd645cc (patch) | |
tree | 1a071da8b3e4fcc1fbfe67c99cc622372502edb2 /fs/nfs/client.c | |
parent | nfs4 use mandatory attribute file type in nfs4_get_root (diff) | |
download | linux-b76ce56192bcf618013fb9aecd83488cffd645cc.tar.xz linux-b76ce56192bcf618013fb9aecd83488cffd645cc.zip |
SUNRPC: Fix a re-entrancy bug in xs_tcp_read_calldir()
If the attempt to read the calldir fails, then instead of storing the read
bytes, we currently discard them. This leads to a garbage final result when
upon re-entry to the same routine, we read the remaining bytes.
Fixes the regression in bugzilla number 16213. Please see
https://bugzilla.kernel.org/show_bug.cgi?id=16213
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Diffstat (limited to 'fs/nfs/client.c')
0 files changed, 0 insertions, 0 deletions