Skip to content
Commit c5de8ab5 authored by Georges Oates_Larsen's avatar Georges Oates_Larsen Committed by Anas Nashif
Browse files

net: net_if: fix net_if_send_data for offloaded ifaces



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: default avatarGeorges Oates_Larsen <georges.larsen@nordicsemi.no>
(cherry picked from commit 1c794450)
parent c394cdb0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment