From: Min Hu (Connor) Date: Tue, 27 Apr 2021 08:51:21 +0000 (+0800) Subject: net/e1000: fix flow error message object X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6705a69cee1db95a2ddf49e48b215da60f258174;p=dpdk.git net/e1000: fix flow error message object This patch fixes parameter misuse when set rte flow action error. Fixes: c0688ef1eded ("net/igb: parse flow API n-tuple filter") Cc: stable@dpdk.org Signed-off-by: Min Hu (Connor) Acked-by: Haiyue Wang --- diff --git a/drivers/net/e1000/igb_flow.c b/drivers/net/e1000/igb_flow.c index 33f6b1d6b3..e72376f69c 100644 --- a/drivers/net/e1000/igb_flow.c +++ b/drivers/net/e1000/igb_flow.c @@ -350,7 +350,7 @@ cons_parse_ntuple_filter(const struct rte_flow_attr *attr, memset(filter, 0, sizeof(struct rte_eth_ntuple_filter)); rte_flow_error_set(error, EINVAL, RTE_FLOW_ERROR_TYPE_ACTION, - item, "Not supported action."); + act, "Not supported action."); return -rte_errno; } filter->queue =