Index: iscsitarget-1.4.20.3+svn502/kernel/nthread.c
===================================================================
--- iscsitarget-1.4.20.3+svn502.orig/kernel/nthread.c
+++ iscsitarget-1.4.20.3+svn502/kernel/nthread.c
@@ -126,7 +126,7 @@ static int do_recv(struct iscsi_conn *co
 
 	oldfs = get_fs();
 	set_fs(get_ds());
-	res = sock_recvmsg(conn->sock, &msg, len, MSG_DONTWAIT | MSG_NOSIGNAL);
+	res = sock_recvmsg(conn->sock, &msg, MSG_DONTWAIT | MSG_NOSIGNAL);
 	set_fs(oldfs);
 
 	if (res <= 0) {
