summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2024-01-02 16:33:58 +0300
committerDavid S. Miller <davem@davemloft.net>2024-01-02 16:33:58 +0300
commit8179cc4764cd1be8d5821e878ad062bc8f702e92 (patch)
tree753a660eeb46364c1ff1654198d8f2ae81309ecd /include/net
parent42a7889a1931a07a04a64c8cd72f41a4ba78a1d9 (diff)
parent81ab772819da408977ac79c0a17d8be57283379f (diff)
downloadlinux-8179cc4764cd1be8d5821e878ad062bc8f702e92.tar.xz
Merge branch 'mptcp-mib-counters'
Matthieu Baerts says: ==================== mptcp: add CurrEstab MIB counter This MIB counter is similar to the one of TCP -- CurrEstab -- available in /proc/net/snmp. This is useful to quickly list the number of MPTCP connections without having to iterate over all of them. Patch 1 prepares its support by adding new helper functions: - MPTCP_DEC_STATS(): similar to MPTCP_INC_STATS(), but this time to decrement a counter. - mptcp_set_state(): similar to tcp_set_state(), to change the state of an MPTCP socket, and to inc/decrement the new counter when needed. Patch 2 uses mptcp_set_state() instead of directly calling inet_sk_state_store() to change the state of MPTCP sockets. Patch 3 and 4 validate the new feature in MPTCP "join" and "diag" selftests. ==================== Signed-off-by: Matthieu Baerts <matttbe@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions