]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Mar 2015 02:58:12 +0000 (22:58 -0400)
commitf1587541685e90b499da82a685d2b8a6383f3324
treedb5503859144757ada4ec8c7222cc41c9cd7db9d
parentf65ef1d3a64c647f283139b13ed07ebfc480a371
inet: add TCP_NEW_SYN_RECV state

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>
include/net/tcp_states.h