On 14.03.25 13:31, Marc Kleine-Budde wrote:
On 14.03.2025 12:39:49, Davide Caratti wrote:
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@xxxxxxxxxx>
Applied to linux-can-next.
Maybe too fast? E.g. J1939 is not handled.
https://lore.kernel.org/linux-can/78951192-82b1-45bc-9903-d314c94cd182@xxxxxxxxxxxx/T/#m87afc41fef8ec9099344c753e32b06f302cc0e39
Best regards,
Oliver