3
0
Fork 0
forked from mirrors/linux
kernel/net/can
Davide Caratti 6bffe88452 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>
2025-03-14 13:27:33 +01:00
..
j1939 can: j1939: j1939_sk_send_loop(): fix unable to send messages with data length zero 2025-02-08 11:28:57 +01:00
af_can.c can: add protocol counter for AF_CAN sockets 2025-03-14 13:27:33 +01:00
af_can.h
bcm.c can: add protocol counter for AF_CAN sockets 2025-03-14 13:27:33 +01:00
gw.c can: gw: Use rtnl_register_many(). 2024-10-15 18:52:26 -07:00
isotp.c can: add protocol counter for AF_CAN sockets 2025-03-14 13:27:33 +01:00
Kconfig can: isotp: remove ISO 15675-2 specification version where possible 2024-06-20 11:52:56 +02:00
Makefile
proc.c
raw.c can: add protocol counter for AF_CAN sockets 2025-03-14 13:27:33 +01:00