diff options
author | Paolo Abeni <pabeni@redhat.com> | 2022-11-26 01:29:49 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-30 07:24:25 +0300 |
commit | b3ea6b272d79a43baaaa9af871ee66f6fda4688f (patch) | |
tree | 8bf89e6610ebfbe5289d83a3f7a90082e6eb29cf /net/appletalk | |
parent | fe33d38626779ffcc1c88204b1931774dc204cb5 (diff) | |
download | linux-b3ea6b272d79a43baaaa9af871ee66f6fda4688f.tar.xz |
mptcp: consolidate initial ack seq generation
Currently the initial ack sequence is generated on demand whenever
it's requested and the remote key is handy. The relevant code is
scattered in different places and can lead to multiple, unneeded,
crypto operations.
This change consolidates the ack sequence generation code in a single
helper, storing the sequence number at the subflow level.
The above additionally saves a few conditional in fast-path and will
simplify the upcoming fast-open implementation.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/appletalk')
0 files changed, 0 insertions, 0 deletions