Skip to content
Commit c3575fbd authored by Wojciech Slenska's avatar Wojciech Slenska Committed by Carles Cufí
Browse files

net: sockets: fix POLLOUT for offloaded iface



For offloaded iface net_tcp_get is never called, so context->tcp
is always NULL. In that case net_tcp_tx_sem_get will return wrong pointer.
For pollout k_poll will be called with NULL semph,
which cause HardFault.

Signed-off-by: default avatarWojciech Slenska <wsl@trackunit.com>
parent 760d8fc9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment