diff options
author | 2025-03-18 11:21:41 +0100 | |
---|---|---|
committer | 2025-04-15 12:18:07 +0200 | |
commit | 8b1879491472c145c58c3cbbaf0e05ea93ee5ddf (patch) | |
tree | c26a276fbb467f208ef7ab44407569e954e5cd93 /scripts/lib/kdoc/kdoc_output.py | |
parent | net: openvswitch: fix nested key length validation in the set() action (diff) | |
download | linux-rng-8b1879491472c145c58c3cbbaf0e05ea93ee5ddf.tar.xz linux-rng-8b1879491472c145c58c3cbbaf0e05ea93ee5ddf.zip |
can: fix missing decrement of j1939_proto.inuse_idx
Like other protocols on top of AF_CAN family, also j1939_proto.inuse_idx
needs to be decremented on socket dismantle.
Fixes: 6bffe88452db ("can: add protocol counter for AF_CAN sockets")
Reported-by: Oliver Hartkopp <socketcan@hartkopp.net>
Closes: https://lore.kernel.org/linux-can/7e35b13f-bbc4-491e-9081-fb939e1b8df0@hartkopp.net/
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://patch.msgid.link/09ce71f281b9e27d1e3d1104430bf3fceb8c7321.1742292636.git.dcaratti@redhat.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions