If create_monitor_dir() fails, the function returns directly without
releasing rv_interface_lock. This leaves the mutex locked and causes
subsequent monitor registration attempts to deadlock.
Fix it by making the error path jump to out_unlock, ensuring that the
mutex is always released before returning.
Fixes:
|
||
---|---|---|
.. | ||
monitors | ||
Kconfig | ||
Makefile | ||
reactor_panic.c | ||
reactor_printk.c | ||
rv.c | ||
rv.h | ||
rv_reactors.c | ||
rv_trace.h |