On Tue, Mar 18, 2025 at 11:21:41AM +0100, Davide Caratti wrote: > 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@xxxxxxxxxxxx> > Closes: https://lore.kernel.org/linux-can/7e35b13f-bbc4-491e-9081-fb939e1b8df0@xxxxxxxxxxxx/ > Signed-off-by: Davide Caratti <dcaratti@xxxxxxxxxx> Acked-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> Thank you! -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |