Skip to content
Commit 1b49cd25 authored by Peter Mitsis's avatar Peter Mitsis Committed by Stephanos Ioannidis
Browse files

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: default avatarPeter Mitsis <peter.mitsis@intel.com>
parent 59cb96e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment