aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Kiss <zoltan.kiss@linaro.org>2016-06-29 17:13:58 +0100
committerZoltan Kiss <zoltan.kiss@linaro.org>2016-06-29 17:13:58 +0100
commit821f06563f90d3bbe56a8908df6a42d1851dbdd2 (patch)
tree4bd191a3447cb9b81233e7d170815f238089aebf
parent098e814f82c3781f17443e85d00e3823aa848b9c (diff)
downloadodp-ovs-821f06563f90d3bbe56a8908df6a42d1851dbdd2.tar.gz
netdev-odp: use odp_packet_copy_from_mem()
Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
-rw-r--r--lib/netdev-odp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/netdev-odp.c b/lib/netdev-odp.c
index 5760388..1f05ba9 100644
--- a/lib/netdev-odp.c
+++ b/lib/netdev-odp.c
@@ -318,7 +318,7 @@ clone_pkts(struct netdev_odp *dev, struct dp_packet **pkts,
break;
}
- odp_packet_copydata_in(pkt, 0, size, dp_packet_data((const struct dp_packet*)pkts[i]));
+ odp_packet_copy_from_mem(pkt, 0, size, dp_packet_data((const struct dp_packet*)pkts[i]));
odp_pkts[newcnt] = pkt;
newcnt++;
}