]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
inet: add TCP_NEW_SYN_RECV state
authorEric Dumazet <edumazet@google.com>
Thu, 12 Mar 2015 23:44:04 +0000 (16:44 -0700)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 28 Jun 2015 17:39:21 +0000 (13:39 -0400)
commitbb5d5cc637187c20c0e1acadb472078363d83d84
tree007ebf5804df28bcf90bec0c927e78bd77184036
parent20cf09ef6745cb91f63cffecce67ab69703a130c
inet: add TCP_NEW_SYN_RECV state

[ Upstream commit 10feb428a5045d5eb18a5d755fbb8f0cc9645626 ]

TCP_SYN_RECV state is currently used by fast open sockets.

Initial TCP requests (the pseudo sockets created when a SYN is received)
are not yet associated to a state. They are attached to their parent,
and the parent is in TCP_LISTEN state.

This commit adds TCP_NEW_SYN_RECV state, so that we can convert
TCP stack to a different schem gradually.

This state is not exported to user space.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
include/net/tcp_states.h