commit | 95863a73daa71e39f59073cd3360e22904f77817 | [log] [tgz] |
---|---|---|
author | Alexander Wachter <alexander.wachter@student.tugraz.at> | Fri Jun 07 17:52:05 2019 +0200 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Thu Aug 08 13:25:01 2019 +0300 |
tree | 713ebd9b9ec1542d34783ae0fef81c8fbd3bc4b6 | |
parent | 7fe85170fc39608a4e1d8bf2855bed7b9d32681c [diff] |
net: ip: net_pkt: Implement net_pkt_shallow_clone This commit implements net_pkt_shallow_clone. A shallow clone clones the net_pkt but not the buffers. The buffers are only referenced and therefor only freed when both copies of the net_pkt are freed. Signed-off-by: Alexander Wachter <alexander.wachter@student.tugraz.at>