From 6705a69cee1db95a2ddf49e48b215da60f258174 Mon Sep 17 00:00:00 2001 From: "Min Hu (Connor)" Date: Tue, 27 Apr 2021 16:51:21 +0800 Subject: [PATCH] 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 --- drivers/net/e1000/igb_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = -- 2.20.1