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:
parent
347e17543f
commit
38a3e79f9b
6 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue