Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport v3.4-branch] net: context: set default offloaded iface during net_context_get() #59857

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Jun 29, 2023

Backport 40d2240 from #59851.

Fixes: #59850

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>
(cherry picked from commit 40d2240)
@zephyrbot zephyrbot added Backport Backport PR and backport failure issues area: Networking labels Jun 29, 2023
@jgl-meta jgl-meta merged commit 1f0ec0d into v3.4-branch Jul 19, 2023
1 check passed
@nashif nashif deleted the backport-59851-to-v3.4-branch branch August 15, 2023 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking Backport Backport PR and backport failure issues
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants