[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1416524700.8629.58.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Thu, 20 Nov 2014 15:05:00 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>,
Al Viro <viro@...IV.linux.org.uk>
Cc: ycheng@...gle.com, nuclearcat@...learcat.com,
netdev@...r.kernel.org, ncardwell@...gle.com
Subject: Re: [PATCH net-next] tcp: remove from tcp_sendmsg() some fastopen
code
On Thu, 2014-11-20 at 08:23 -0800, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> If we consume iovec bytes in tcp_send_syn_data(), we can remove
> annoying fastopen code in tcp_sendmsg() skipping over the already
> consumed bytes.
>
> Also add an unlikely(flags & MSG_FASTOPEN), as most TCP sendmsg() do not
> ask for FASTOPEN.
>
> Tested:
> Ran our 125 packetdrill fastopen tests
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
Please disregard this patch, Al Viro said sendmsg() was apparently not
allowed to change iovec.
Some callers depend on it staying constant.
Not clear why memcpy_fromiovec() even exists.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists