diff options
author | Paolo Abeni <pabeni@redhat.com> | 2023-06-20 18:30:18 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-21 22:45:57 -0700 |
commit | 492432074e4fce4f8880213bf009b47adbf94a3a (patch) | |
tree | 30881f80f09cda8d52ace6f37eeb9722990db892 /mm/slab.h | |
parent | 6f06b4d4d1cc676a3f9d947f931ec3866b6c4f6c (diff) |
mptcp: introduce MPTCP_FULL_INFO getsockopt
Some user-space applications want to monitor the subflows utilization.
Dumping the per subflow tcp_info is not enough, as the PM could close
and re-create the subflows under-the-hood, fooling the accounting.
Even checking the src/dst addresses used by each subflow could not
be enough, because new subflows could re-use the same address/port of
the just closed one.
This patch introduces a new socket option, allow dumping all the relevant
information all-at-once (everything, everywhere...), in a consistent
manner.
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/388
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>
Diffstat (limited to 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions