Files
linux/include/net
Eric Dumazet 4a7ca91f73 net-tcp: fastopen: fix high order allocations
[ Upstream commit f5ddcbbb40 ]

This patch fixes two bugs in fastopen :

1) The tcp_sendmsg(...,  @size) argument was ignored.

   Code was relying on user not fooling the kernel with iovec mismatches

2) When MTU is about 64KB, tcp_send_syn_data() attempts order-5
allocations, which are likely to fail when memory gets fragmented.

Fixes: 783237e8da ("net-tcp: Fast Open client - sending SYN-data")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Tested-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-23 21:44:00 -07:00
..
2014-01-02 17:22:48 -05:00
2012-07-19 10:43:03 -07:00
2013-11-07 19:28:58 -05:00
2013-10-19 19:36:18 -04:00
2013-01-27 22:46:33 -05:00
2013-10-08 23:19:24 -04:00
2012-08-06 13:40:47 -07:00
2013-06-04 16:43:42 -07:00
2012-05-16 15:17:08 -04:00