mptcp: introduces more address related mibs
authorPaolo Abeni <pabeni@redhat.com>
Wed, 17 May 2023 19:16:16 +0000 (12:16 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 19 May 2023 03:06:32 +0000 (20:06 -0700)
commit45b1a1227a7aaa99254551c513406c7aa904e968
tree080fbfca67cd8231d9d833165e2d593f636fa3b0
parente76c8ef5cc5b77debe711717f61a3fbf24904873
mptcp: introduces more address related mibs

Currently we don't track explicitly a few events related to address
management suboption handling; this patch adds new mibs for ADD_ADDR
and RM_ADDR options tx and for missed tx events due to internal storage
exhaustion.

The self-tests must be updated to properly handle different mibs with
the same/shared prefix.

Additionally removes a couple of warning tracking the loss event.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/378
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/mib.c
net/mptcp/mib.h
net/mptcp/options.c
net/mptcp/pm.c
tools/testing/selftests/net/mptcp/mptcp_join.sh