Skip to content
Commit c87c36d3 authored by Adam Wojasinski's avatar Adam Wojasinski Committed by Anas Nashif
Browse files

net: if: Increment the packet ref count when adding to timestamp queue



Added incrementation of the packet reference count when puting
the packet on the queue used in tx timestamping thread. This fixes
an issue when user wants to access the packet data in the timestamp
callback context. Before the fix was introduced if sockets were used
packet has been unreferenced before execution reached timestamp callback
context.

Signed-off-by: default avatarAdam Wojasinski <awojasinski@baylibre.com>
parent 8281e869
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment