• David Howells's avatar
    RxRPC: Fix the conversion to iov_iter · 3af6878e
    David Howells authored
    This commit:
    
    	commit af2b040e
    	Author: Al Viro <viro@zeniv.linux.org.uk>
    	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: default avatarDavid Howells <dhowells@redhat.com>
    3af6878e
ar-output.c 17.6 KB