Skip to content
Commit 02129e90 authored by Johann Fischer's avatar Johann Fischer Committed by Anas Nashif
Browse files

net: buf: fix data ref_count offset in generic_data_ref()



This patch fixes commit b70f92e5
("net: buf: keep memory alignment provided by k_heap_alloc and k_malloc").
One-line was overlooked in the above patch and may result in a
cloned net_buf using a data block that has already been freed.

Signed-off-by: default avatarJohann Fischer <johann.fischer@nordicsemi.no>
parent 064d9f4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment