]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mptcp: track fallbacks accurately via mibs
authorPaolo Abeni <pabeni@redhat.com>
Wed, 23 Jul 2025 14:32:23 +0000 (16:32 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 25 Jul 2025 18:29:04 +0000 (11:29 -0700)
commitc65c2e3bae6912b6baf8ea12eeace220e8e99b47
tree9af001acf5192384bc9ce9f5597de5010854cd7d
parent5ec9b15d8dfa4992c6f9c26c1f96e69202d8fcb1
mptcp: track fallbacks accurately via mibs

Add the mibs required to cover the few possible fallback causes still
lacking suck info.

Move the relevant mib increment into the fallback helper, so that no
eventual future fallback operation will miss a paired mib increment.

Additionally track failed fallback via its own mib, such mib is
incremented only when a fallback mandated by the protocol fails - due to
racing subflow creation.

While at the above, rename an existing helper to reduce long lines
problems all along.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250723-net-next-mptcp-track-fallbacks-v1-1-a83cce08f2d5@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/ctrl.c
net/mptcp/mib.c
net/mptcp/mib.h
net/mptcp/options.c
net/mptcp/protocol.c
net/mptcp/protocol.h
net/mptcp/subflow.c