aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/linux-generic/odp_packet_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c
index cda19003..540cdb8d 100644
--- a/platform/linux-generic/odp_packet_io.c
+++ b/platform/linux-generic/odp_packet_io.c
@@ -640,7 +640,7 @@ int pktin_deq_multi(queue_entry_t *qentry, odp_buffer_hdr_t *buf_hdr[], int num)
/* Queue the rest for later */
for (j = 0; i < pkts; i++, j++) {
buf = _odp_packet_to_buffer(pkt_tbl[i]);
- hdr_tbl[j++] = odp_buf_to_hdr(buf);
+ hdr_tbl[j] = odp_buf_to_hdr(buf);
}
if (j)