mptcp: move snd_una update earlier for fallback socket
authorPaolo Abeni <pabeni@redhat.com>
Tue, 20 Jun 2023 16:30:14 +0000 (18:30 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 22 Jun 2023 05:45:57 +0000 (22:45 -0700)
commitc026d33b8f5081969503e322ea30d7c1a6b17dda
tree58a9d188661e53dea6e84460e1c6a822f6d529a9
parent5dfbbaa208f5429a02ccb410ae3515222bbe64ef
mptcp: move snd_una update earlier for fallback socket

That will avoid an unneeded conditional in both the fast-path
and in the fallback case and will simplify a bit the next
patch.

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>
net/mptcp/options.c
net/mptcp/protocol.c