Skip to content
Commit d2efe602 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Anas Nashif
Browse files

net: tcp: Use packet clone function to copy the frags



Using memcpy() to copy net_pkt is not safe because there are
pointers inside. So use the new net_pkt_clone() to do that.

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