commit | 9dffac0107a6ef60608ddc5217e05108054fe342 | [log] [tgz] |
---|---|---|
author | Tom Burdick <thomas.burdick@intel.com> | Tue Aug 27 18:13:00 2024 +0300 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Aug 29 18:05:04 2024 +0200 |
tree | 2a1a2034620150093a21ca3b1e65739bb5c56a47 | |
parent | c09b3bcbd61391395931cb3827a4ce1cb6fb401c [diff] |
llext: flush logging before unloading extensions Extensions could have used logging, when log processing is deferred, the logging thread can run after the extension has been unloaded and thereby access invalid memory addresses. Make sure to flush all logs before unloading extensions. Signed-off-by: Tom Burdick <thomas.burdick@intel.com> Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>