kernel: pipes: ISRs use a private pipe descriptor
Fixes sporadic data access violations that were occuring when pipes were being used from an ISR. The ISR was incorrectly using the pipe descriptor belonging to the interrupted thread. This led to corrupted pipe meta-data. The solution proposed here is to perform a run-time check and if use a pipe descriptor on the ISR's stack if called from an ISR. For additional information, see: https://github.com/zephyrproject-rtos/zephyr/issues/52812 Signed-off-by:Peter Mitsis <peter.mitsis@intel.com>
Loading
Please sign in to comment