]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: rename request_sock cookie_ts bit to syncookie
authorFlorian Westphal <fw@strlen.de>
Thu, 30 Jul 2020 19:25:50 +0000 (21:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Jul 2020 23:55:32 +0000 (16:55 -0700)
commit9a73e342218c63db60b943fd7b93eaec3c955ced
tree84837acec01f6cf7f116e09406c6d3e07991c08e
parent283ed9c2935da95f7e9a23426773eb6f59221d36
tcp: rename request_sock cookie_ts bit to syncookie

Nowadays output function has a 'synack_type' argument that tells us when
the syn/ack is emitted via syncookies.

The request already tells us when timestamps are supported, so check
both to detect special timestamp for tcp option encoding is needed.

We could remove cookie_ts altogether, but a followup patch would
otherwise need to adjust function signatures to pass 'want_cookie' to
mptcp core.

This way, the 'existing' bit can be used.

Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/crypto/chelsio/chtls/chtls_cm.c
include/net/request_sock.h
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c