Skip to content
Commit ebe3e7d9 authored by Jordan Yates's avatar Jordan Yates Committed by Johan Hedberg
Browse files

net: buf: store user_data size



Store the `user_data` array size on both the pool and net_buf structs.
This will enable length validation once `user_data` fields are not
globally the same size. The new variables fit inside existing padding,
and therefore do not increase the size of either structure.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent 719b512d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment