]> Git Repo - linux.git/commit
cifs: fix length vs. total_read confusion in cifs_demultiplex_thread
authorJeff Layton <[email protected]>
Tue, 1 Feb 2011 13:40:43 +0000 (08:40 -0500)
committerSteve French <[email protected]>
Wed, 2 Feb 2011 00:17:04 +0000 (00:17 +0000)
commit9587fcff42f5bece3c0a44066b079235ee73cbb3
treed4af674931407f1ad9baf84391617eae4a6343c5
parentafe8a887550f7cc24eb16449670b93f6b43c32d8
cifs: fix length vs. total_read confusion in cifs_demultiplex_thread

length at this point is the length returned by the last kernel_recvmsg
call. total_read is the length of all of the data read so far. length
is more or less meaningless at this point, so use total_read for
everything.

Signed-off-by: Jeff Layton <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
fs/cifs/connect.c
This page took 0.044622 seconds and 4 git commands to generate.