git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65b2ec7
)
net/ixgbe: fix flow entry access after freeing
author
Dapeng Yu
<dapengx.yu@intel.com>
Fri, 9 Jul 2021 03:14:59 +0000
(11:14 +0800)
committer
Qi Zhang
<qi.z.zhang@intel.com>
Fri, 9 Jul 2021 07:31:52 +0000
(09:31 +0200)
The original code use a heap pointer after it is freed.
This patch fix it.
Fixes:
a14de8b498d1
("net/ixgbe: destroy consistent filter")
Cc: stable@dpdk.org
Signed-off-by: Dapeng Yu <dapengx.yu@intel.com>
Reviewed-by: Haiyue Wang <haiyue.wang@intel.com>
drivers/net/ixgbe/ixgbe_flow.c
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbe/ixgbe_flow.c
b/drivers/net/ixgbe/ixgbe_flow.c
index
0b10e91
..
511b612
100644
(file)
--- a/
drivers/net/ixgbe/ixgbe_flow.c
+++ b/
drivers/net/ixgbe/ixgbe_flow.c
@@
-3437,6
+3437,7
@@
ixgbe_flow_destroy(struct rte_eth_dev *dev,
TAILQ_REMOVE(&ixgbe_flow_list,
ixgbe_flow_mem_ptr, entries);
rte_free(ixgbe_flow_mem_ptr);
+ break;
}
}
rte_free(flow);