Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: context: set default offloaded iface during net_context_get()
Set default offloaded interface during net_context_get() call, so that net_context_recv() can be called before net_context_connect(). There is already an assumption about using default network interface, so this should not be harmful. Fixes: 2c75070 ("net: sockets: tcp: Fix possible race between connect/recv") Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
- Loading branch information