Skip to content
Commit f61bbad6 authored by Patrick Wildt's avatar Patrick Wildt Committed by David Leach
Browse files

spsc_pbuf: fix cache invalidation in spsc_pbuf_free



In case the read index points to the end of the packet buffer and thus
wraps around, we must not invalidate the cache, otherwise we draw
outside of the lines and purge data outside of our responsibility.

Signed-off-by: default avatarPatrick Wildt <pwildt@google.com>
parent 02baa658
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment