[PATCH 185/222] tcp: fix MSG_SENDPAGE_NOTLAST logic
davem at davemloft.net
Tue Feb 12 07:36:29 UTC 2013
From: Ben Hutchings <ben at decadent.org.uk>
Date: Fri, 01 Feb 2013 18:40:57 +0100
> On Wed, 2013-01-16 at 13:56 -0200, Herton Ronaldo Krzesinski wrote:
>> 184.108.40.206 -stable review patch. If anyone has any objections, please let me know.
>> From: Eric Dumazet <edumazet at google.com>
>> commit ae62ca7b03217be5e74759dc6d7698c95df498b3 upstream.
>> commit 35f9c09fe9c72e (tcp: tcp_sendpages() should call tcp_push() once)
>> added an internal flag : MSG_SENDPAGE_NOTLAST meant to be set on all
>> frags but the last one for a splice() call.
> David, I think this is needed for 3.0 and 3.2 as well since
> 35f9c09fe9c72e was backported to them. You previously included it in
> updates for 3.4 and 3.7.
Ok, queued up, thanks.
More information about the kernel-team