Skip to content
Commit 45cb3f98 authored by Robert Lubos's avatar Robert Lubos Committed by Carles Cufí
Browse files

net: if: Improve LL address access thread safety



As `net_if_get_link_addr()` returns a pointer to the link layer
structure, some extra protection is needed to prevent its contents from
being changed while accessed. Using the mutex lock associated with an
interface should do the trick.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 838a9428
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment