net: buf: Preserve buffer pointer in destroy callback
The use case is to have a netbuf pool that is used exclusively with
net_buf_alloc_with_data() where the destroy callback takes care of
freeing the actual data buffer pointed to by __buf.
Signed-off-by:
Tomasz Moń <tomasz.mon@nordicsemi.no>
Loading
Please sign in to comment