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
|
@ -2754,7 +2754,7 @@ enum net_verdict net_if_recv_data(struct net_if *iface, struct net_pkt *pkt)
|
|||
|
||||
verdict = net_if_l2(iface)->recv(iface, pkt);
|
||||
if (verdict == NET_CONTINUE) {
|
||||
new_pkt = net_pkt_clone_new(pkt, K_NO_WAIT);
|
||||
new_pkt = net_pkt_clone(pkt, K_NO_WAIT);
|
||||
} else {
|
||||
new_pkt = net_pkt_ref(pkt);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue