mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
This commit is contained in:
commit
6c61403dae
3 changed files with 13 additions and 18 deletions
|
|
@ -1283,9 +1283,8 @@ static int iscsit_do_rx_data(
|
|||
iov_iter_kvec(&msg.msg_iter, READ | ITER_KVEC,
|
||||
count->iov, count->iov_count, data);
|
||||
|
||||
while (total_rx < data) {
|
||||
rx_loop = sock_recvmsg(conn->sock, &msg,
|
||||
(data - total_rx), MSG_WAITALL);
|
||||
while (msg_data_left(&msg)) {
|
||||
rx_loop = sock_recvmsg(conn->sock, &msg, MSG_WAITALL);
|
||||
if (rx_loop <= 0) {
|
||||
pr_debug("rx_loop: %d total_rx: %d\n",
|
||||
rx_loop, total_rx);
|
||||
|
|
|
|||
Loading…
Reference in a new issue