mptcp: implement delayed seq generation for passive fastopen
authorDmytro Shytyi <dmytro@shytyi.net>
Fri, 25 Nov 2022 22:29:50 +0000 (23:29 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 30 Nov 2022 04:24:25 +0000 (20:24 -0800)
commitdfc8d06030335a816d81aa92fe5d1f84d06998ad
tree648fad954e673b0fc482d240987a2bf7ddb12457
parentb3ea6b272d79a43baaaa9af871ee66f6fda4688f
mptcp: implement delayed seq generation for passive fastopen

With fastopen in place, the first subflow socket is created before the
MPC handshake completes, and we need to properly initialize the sequence
numbers at MPC ACK reception.

Co-developed-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Co-developed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Dmytro Shytyi <dmytro@shytyi.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/Makefile
net/mptcp/fastopen.c [new file with mode: 0644]
net/mptcp/options.c
net/mptcp/protocol.c
net/mptcp/protocol.h
net/mptcp/subflow.c