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

net: pkt: Allow inserting NULL data



If the data parameter in net_pkt_insert() is NULL, then just
insert amount of data but clear the area instead of copying.

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