Skip to content
Commit b324e1e4 authored by Konrad Derda's avatar Konrad Derda Committed by Henrik Brix Andersen
Browse files

net: buf: add max allocation size to allocation info



Previously, there was no way to determine maximum number of bytes
that can be allocated using only net_buf structure. This commit
introduces such field.

Moreover, this commit fixes an issue where allocation of less than
maximum number of bytes from a fixed buffer pool would set buffer's
size to this number instead of the whole buffer size.

Signed-off-by: default avatarKonrad Derda <konrad.derda@nordicsemi.no>
parent 57cd0124
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment