• Oleksij Rempel's avatar
    can: j1939: warn if resources are still linked on destroy · 4a15d574
    Oleksij Rempel authored
    j1939_session_destroy() and __j1939_priv_release() should be called only
    if session, ecu or socket are not linked or used by any one else. If at
    least one of these resources is linked, then the reference counting is
    broken somewhere.
    
    This warning will be triggered before KASAN will do, and will make it
    easier to debug initial issue. This works on platforms without KASAN
    support.
    Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
    4a15d574
Name
Last commit
Last update
..
j1939 Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
af_can.c Loading commit data...
af_can.h Loading commit data...
bcm.c Loading commit data...
gw.c Loading commit data...
proc.c Loading commit data...
raw.c Loading commit data...