WSL2-Linux-Kernel/net/mptcp
Matthieu Baerts e925a0322a mptcp: do not fill info not used by the PM in used
Only the in-kernel PM uses the number of address and subflow limits
allowed per connection.

It then makes more sense not to display such info when other PMs are
used not to confuse the userspace by showing limits not being used.

While at it, we can get rid of the "val" variable and add indentations
instead.

It would have been good to have done this modification directly in
commit 4d25247d3a ("mptcp: bypass in-kernel PM restrictions for non-kernel PMs")
but as we change a bit the behaviour, it is fine not to backport it to
stable.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-03-29 09:01:28 +01:00
..
Kconfig
Makefile mptcp: implement delayed seq generation for passive fastopen 2022-11-29 20:24:25 -08:00
bpf.c
crypto.c
crypto_test.c
ctrl.c
diag.c
fastopen.c mptcp: add subflow_v(4,6)_send_synack() 2022-11-29 20:24:25 -08:00
mib.c
mib.h
mptcp_diag.c
options.c mptcp: use local variable ssk in write_options 2023-01-09 07:30:49 +00:00
pm.c mptcp: netlink: respect v4/v6-only sockets 2023-01-13 21:55:45 -08:00
pm_netlink.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-17 16:29:25 -07:00
pm_userspace.c mptcp: userspace pm: use a single point of exit 2023-01-26 13:33:30 +01:00
protocol.c mptcp: preserve const qualifier in mptcp_sk() 2023-03-18 12:23:34 +00:00
protocol.h mptcp: preserve const qualifier in mptcp_sk() 2023-03-18 12:23:34 +00:00
sockopt.c mptcp: do not fill info not used by the PM in used 2023-03-29 09:01:28 +01:00
subflow.c mptcp: simplify subflow_syn_recv_sock() 2023-03-29 09:01:28 +01:00
syncookies.c
token.c mptcp: add statistics for mptcp socket in use 2023-01-09 07:30:50 +00:00
token_test.c mptcp: init sk->sk_prot in build_msk() 2023-01-09 07:30:50 +00:00