From: David Howells Date: Wed, 1 Apr 2015 13:06:00 +0000 (+0100) Subject: RxRPC: Fix the conversion to iov_iter X-Git-Tag: omap-for-v4.2/o2_dc~131^2~15^2~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3af6878ecad229346fbc2c8f2663089aa6aef20d;p=pandora-kernel.git RxRPC: Fix the conversion to iov_iter This commit: commit af2b040e470b470bfc881981db3c796072853eae Author: Al Viro Date: Thu Nov 27 21:44:24 2014 -0500 Subject: rxrpc: switch rxrpc_send_data() to iov_iter primitives incorrectly changes a do-while loop into a while loop in rxrpc_send_data(). Unfortunately, at least one pass through the loop is required - even if there is no data - so that the packet the closes the send phase can be sent if MSG_MORE is not set. Signed-off-by: David Howells --- Reading git-diff-tree failed