linux/net
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
..
6lowpan 6lowpan: Remove redundant initialisation. 2023-03-29 08:22:52 +01:00
9p
802
8021q vlan: partially enable SIOCSHWTSTAMP in container 2023-03-17 08:21:16 +00:00
appletalk
atm net: annotate lockless accesses to sk->sk_err_soft 2023-03-17 08:25:05 +00:00
ax25
batman-adv
bluetooth Bluetooth: HCI: Fix global-out-of-bounds 2023-03-23 13:09:38 -07:00
bpf Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-09 22:22:11 -08:00
bpfilter
bridge net: dst: Switch to rcuref_t reference counting 2023-03-28 18:52:28 -07:00
caif
can
ceph
core net: dst: Switch to rcuref_t reference counting 2023-03-28 18:52:28 -07:00
dcb
dccp netfilter: keep conntrack reference until IPsecv6 policy checks are done 2023-03-22 21:50:23 +01:00
devlink
dns_resolver
dsa net: dsa: tag_brcm: legacy: fix daisy-chained switches 2023-03-21 17:29:13 -07:00
ethernet
ethtool ipv6: Remove in6addr_any alternatives. 2023-03-29 08:22:52 +01:00
hsr hsr: ratelimit only when errors are printed 2023-03-16 21:11:03 -07:00
ieee802154
ife
ipv4 ipv6: Remove in6addr_any alternatives. 2023-03-29 08:22:52 +01:00
ipv6 net: dst: Switch to rcuref_t reference counting 2023-03-28 18:52:28 -07:00
iucv net/iucv: Fix size of interrupt data 2023-03-16 17:34:40 -07:00
kcm
key
l2tp
l3mdev
lapb
llc
mac80211 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-24 10:10:20 -07:00
mac802154
mctp mctp: remove MODULE_LICENSE in non-modules 2023-03-09 23:06:21 -08:00
mpls
mptcp mptcp: do not fill info not used by the PM in used 2023-03-29 09:01:28 +01:00
ncsi net: Use of_property_read_bool() for boolean properties 2023-03-16 17:41:28 +00:00
netfilter net: dst: Switch to rcuref_t reference counting 2023-03-28 18:52:28 -07:00
netlabel
netlink netlink: remove unused 'compare' function 2023-03-09 23:11:09 -08:00
netrom
nfc nfc: change order inside nfc_se_io error path 2023-03-07 13:37:05 -08:00
nsh
openvswitch
packet net: introduce a config option to tweak MAX_SKB_FRAGS 2023-03-27 19:29:22 -07:00
phonet
psample
qrtr
rds
rfkill
rose
rxrpc
sched fix typos in net/sched/* files 2023-03-24 09:05:03 +00:00
sctp net: annotate lockless accesses to sk->sk_err_soft 2023-03-17 08:25:05 +00:00
smc smc: preserve const qualifier in smc_sk() 2023-03-18 12:23:33 +00:00
strparser
sunrpc nfsd-6.3 fixes: 2023-03-10 08:45:30 -08:00
switchdev
tipc
tls
unix af_unix: annotate lockless accesses to sk->sk_err 2023-03-17 08:25:05 +00:00
vmw_vsock vsock: support sockmap 2023-03-29 08:19:38 +01:00
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-17 16:29:25 -07:00
x25
xdp Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-24 10:10:20 -07:00
xfrm Extend packet offload to fully support libreswan 2023-03-22 21:56:33 -07:00
compat.c
devres.c
Kconfig net: introduce a config option to tweak MAX_SKB_FRAGS 2023-03-27 19:29:22 -07:00
Kconfig.debug
Makefile
socket.c net: socket: suppress unused warning 2023-03-13 15:59:20 -07:00
sysctl_net.c