Loading
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: 2c750703 ("net: sockets: tcp: Fix possible race between connect/recv") Signed-off-by:Marcin Niestroj <m.niestroj@emb.dev>