Skip to content

Changes

Started by upstream project gerrit-libosmocore #2333
Started 1 day 7 hr ago
Queued 8 min 7 sec

Summary

  1. logging: Also Avoid infinite loop/deadlock in log_check_level() (details)
Commit c0c843fda89193afe37aad70e0b4b1dbe85a7353 by Pau Espin Pedrol
logging: Also Avoid infinite loop/deadlock in log_check_level()

A LOG() macro being called inside an already-logging path will first
call log_check_level() before calling osmo_vlogp(). Since calling
happens with the mutex hold, it has been seen to deadlock in eg.
osmo-hnbgw.

Change-Id: I0098629b335b3aa174b49fd79c33d22b04bc4785
The file was modifiedsrc/core/logging.c