]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: add mibs counter for ignored incoming options
authorPaolo Abeni <pabeni@redhat.com>
Fri, 18 Feb 2022 21:35:42 +0000 (13:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Feb 2022 12:28:00 +0000 (12:28 +0000)
commit3f6bf030bb41abec70e8c58037e90daa77531927
tree5273f5526f53cc3435d73e59482f8cd57f6ed7af
parent603daf473455ce41dc2a8e0d20e4b769f033a6b5
mptcp: add mibs counter for ignored incoming options

The MPTCP in kernel path manager has some constraints on incoming
addresses announce processing, so that in edge scenarios it can
end-up dropping (ignoring) some of such announces.

The above is not very limiting in practice since such scenarios are
very uncommon and MPTCP will recover due to ADD_ADDR retransmissions.

This patch adds a few MIB counters to account for such drop events
to allow easier introspection of the critical scenarios.

Fixes: 40b2bf410657 ("mptcp: drop argument port from mptcp_pm_announce_addr")
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/mib.c
net/mptcp/mib.h
net/mptcp/pm.c