pipeline: fix table statistics
authorChurchill Khangar <churchill.khangar@intel.com>
Mon, 2 Aug 2021 05:32:12 +0000 (11:02 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 4 Aug 2021 12:45:13 +0000 (14:45 +0200)
commit69fa4a61ae5d942004221830e7d1fa589d4398f2
treef2e895091501b1689a62ce69fe1c902f828e4534
parent22545454b67b8e243849fb586e5097f397f30e1e
pipeline: fix table statistics

This patch fixes the memcpy function call which was incorrect and led
to memory corruption for tables with more that just a few actions.

Fixes: 742b0a57f50e4 ("pipeline: add table statistics to SWX")
Cc: stable@dpdk.org
Signed-off-by: Churchill Khangar <churchill.khangar@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
lib/pipeline/rte_swx_pipeline.c