diff options
| author | Menglong Dong <[email protected]> | 2023-01-06 18:57:23 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-01-09 07:30:50 +0000 |
| commit | c558246ee73e6f623ca503fb1fda626f313393a6 (patch) | |
| tree | 5d4b8e7d259b220dd6af3766fd985241ad863c41 /drivers/fpga/zynqmp-fpga.c | |
| parent | mptcp: rename 'sk' to 'ssk' in mptcp_token_new_connect() (diff) | |
| download | kernel-c558246ee73e6f623ca503fb1fda626f313393a6.tar.gz kernel-c558246ee73e6f623ca503fb1fda626f313393a6.zip | |
mptcp: add statistics for mptcp socket in use
Do the statistics of mptcp socket in use with sock_prot_inuse_add().
Therefore, we can get the count of used mptcp socket from
/proc/net/protocols:
& cat /proc/net/protocols
protocol size sockets memory press maxhdr slab module cl co di ac io in de sh ss gs se re sp bi br ha uh gp em
MPTCPv6 2048 0 0 no 0 yes kernel y n y y y y y y y y y y n n n y y y n
MPTCP 1896 1 0 no 0 yes kernel y n y y y y y y y y y y n n n y y y n
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: Menglong Dong <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions
