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.7-branch] net: net_if: fix net_if_send_data for offloaded ifaces #76716

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Aug 6, 2024

Backport 1c79445 from #76348.

Fixes #76717

Some offloaded ifaces have an L2, but lack support for
net_l2->send. This edge case is not handled by
net_if_send_data, resulting in a NULL dereference under
rare circumstances.

This patch expands the offloaded iface guard in
net_if_send_data to handle this edge case.

Signed-off-by: Georges Oates_Larsen <georges.larsen@nordicsemi.no>
(cherry picked from commit 1c79445)
@zephyrbot zephyrbot added Backport Backport PR and backport failure issues area: Networking labels Aug 6, 2024
@nashif nashif merged commit c5de8ab into v3.7-branch Aug 6, 2024
29 checks passed
@nashif nashif deleted the backport-76348-to-v3.7-branch branch August 6, 2024 16:41
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.

5 participants