net/pkt: Rename net_pkt_clone_new to net_pkt_clone

Now that legacy net_pkt_clone function has been removed, the new
function can be renamed accordingly.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2019-02-08 09:26:29 +01:00 committed by Anas Nashif
commit 38a3e79f9b
6 changed files with 7 additions and 7 deletions

View file

@ -949,7 +949,7 @@ int net_tcp_send_pkt(struct net_pkt *pkt)
}
if (pkt_in_slist) {
new_pkt = net_pkt_clone_new(pkt, ALLOC_TIMEOUT);
new_pkt = net_pkt_clone(pkt, ALLOC_TIMEOUT);
if (!new_pkt) {
return -ENOMEM;
}