summaryrefslogtreecommitdiff
path: root/fs/cifs/readdir.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-08-31 01:13:31 +0400
committerSteve French <sfrench@us.ibm.com>2007-08-31 01:13:31 +0400
commitf01d5e14e764b14b6bf5512678523d009254b209 (patch)
treea83c839bb84d9ef7e9c8accf60cf572bf6b55ce0 /fs/cifs/readdir.c
parent8594c15ad226227aaf178b7cf57f2e7291684dd4 (diff)
downloadlinux-f01d5e14e764b14b6bf5512678523d009254b209.tar.xz
[CIFS] fix for incorrect session reconnects
cifs reconnect could end up happening incorrectly due to the small initial tcp recvmsg response. When the socket was within three bytes of being full and the recvmsg returned only 1 to 3 bytes of the initial 4 byte read of the RFC1001 length field. Fortunately this seems to be less common on more current kernels, but this fixes it so cifs tries to retrieve all 4 bytes of the initial tcp read. Signed-off-by: Shirish Pargoankar <shirishp@us.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/readdir.c')
0 files changed, 0 insertions, 0 deletions