Skip to content
Commit 6a4372b0 authored by Jukka Rissanen's avatar Jukka Rissanen
Browse files

net: nbuf: Fix the net_nbuf_copy() buf parameter



The first parameter of net_nbuf_copy() must be the head
of the buffer chain i.e., it must contain the user_data
part. If a fragment is given, then we do not know enough
information to allocate the data fragments.

Change-Id: I052b183d8c63d7326b320254f36f00b2fc48b0a0
Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent a5dbf31b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment