summaryrefslogtreecommitdiff
path: root/net/ipv4/ip_tunnel.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-02-02 08:03:08 +0300
committerDavid S. Miller <davem@davemloft.net>2016-02-06 11:11:59 +0300
commit9d691539eea2d977e3eb86766c389a19a9c13146 (patch)
tree21f14703c42c81bc67063ab7fd9fe0cdda86265b /net/ipv4/ip_tunnel.c
parent61d2bcae99f66a640b3dd9632180209143fb5512 (diff)
downloadlinux-9d691539eea2d977e3eb86766c389a19a9c13146.tar.xz
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>
Diffstat (limited to 'net/ipv4/ip_tunnel.c')
0 files changed, 0 insertions, 0 deletions