Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71584
b: refs/heads/master
c: c18c732
h: refs/heads/master
v: v3
  • Loading branch information
Steve French committed Oct 17, 2007
1 parent 498bd25 commit 9bd2a02
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: adddd49ddf4ce5a5997f0695b194587290ea72e9
refs/heads/master: c18c732ec6bf372aa959ca6534cbfc32e464defd
3 changes: 2 additions & 1 deletion trunk/fs/cifs/CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ opened, read and written as if they were files). When 1st tree
connect fails (e.g. due to signing negotiation failure) fix
leak that causes cifsd not to stop and rmmod to fail to cleanup
cifs_request_buffers pool. Fix problem with POSIX Open/Mkdir on
bigendian architectures.
bigendian architectures. Fix possible memory corruption when
EAGAIN returned on kern_recvmsg.

Version 1.50
------------
Expand Down
6 changes: 5 additions & 1 deletion trunk/fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,10 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server)
msleep(1); /* minimum sleep to prevent looping
allowing socket to clear and app threads to set
tcpStatus CifsNeedReconnect if server hung */
continue;
if (pdu_length < 4)
goto incomplete_rcv;
else
continue;
} else if (length <= 0) {
if (server->tcpStatus == CifsNew) {
cFYI(1, ("tcp session abend after SMBnegprot"));
Expand Down Expand Up @@ -543,6 +546,7 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server)
allowing socket to clear and app
threads to set tcpStatus
CifsNeedReconnect if server hung*/
length = 0;
continue;
} else if (length <= 0) {
cERROR(1, ("Received no data, expecting %d",
Expand Down

0 comments on commit 9bd2a02

Please sign in to comment.