Eric Dumazet 9d691539ee tcp: do not enqueue skb with SYN flag
If we remove the SYN flag from the skbs that tcp_fastopen_add_skb()
places in socket receive queue, then we can remove the test that
tcp_recvmsg() has to perform in fast path.

All we have to do is to adjust SEQ in the slow path.

For the moment, we place an unlikely() and output a message
if we find an skb having SYN flag set.
Goal would be to get rid of the test completely.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-06 03:11:59 -05:00
..
2015-08-25 13:38:50 -07:00
2015-11-04 21:34:37 -05:00
2016-01-10 17:28:24 -05:00
2016-01-05 22:25:57 -05:00
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2015-10-21 07:00:53 -07:00
2016-02-06 03:11:59 -05:00
2015-09-17 17:18:37 -07:00