Skip to content
Commit b08b1c21 authored by Jonathan Rico's avatar Jonathan Rico Committed by Anas Nashif
Browse files

net: buf: Disallow blocking allocation in syswq



Work items on the syswq should always run-to-completion.

Override the timeout value to always be K_NO_WAIT.

Allocating with K_FOREVER leads to deadlocks if the freeing also happens
from the syswq. Non-zero timeouts are also not nice for the other users
of the syswq.

Signed-off-by: default avatarJonathan Rico <jonathan.rico@nordicsemi.no>
parent b29dff09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment