diff options
author | Davide Caratti <dcaratti@redhat.com> | 2025-03-14 14:39:49 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2025-03-14 15:27:33 +0300 |
commit | 6bffe88452dbe284747442f10a7ac8249d6495d7 (patch) | |
tree | b5f16442957fe1ae7a3048cbfa3cf06f087c28c6 /net/lapb/lapb_subr.c | |
parent | 958ee3d715773d88e5d85c36311ef458d6b352a2 (diff) | |
download | linux-6bffe88452dbe284747442f10a7ac8249d6495d7.tar.xz |
can: add protocol counter for AF_CAN sockets
The third column in the output of the following command:
| # grep CAN /proc/net/protocols
is systematically '0': use sock_prot_inuse_add() to account for the number
of sockets for each protocol on top of AF_CAN family.
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Link: https://patch.msgid.link/9db5d0e6c11b232ad895885616f1258882a32f61.1741952160.git.dcaratti@redhat.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions