Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ upstream commit ce4bd6e14aa693c80c5218f7d896c98b3b85b54a ] After the memzone is freed, it is not removed from the 'rte_ring_tailq'. If rte_ring_lookup is called at this time, it will cause a use-after-free problem. This change prevents that from happening. Fixes: 4e32101 ("ring: support freeing") Signed-off-by: Yunjian Wang <wangyunjian@huawei.com> Acked-by: Konstantin Ananyev <konstantin.v.ananyev@yandex.ru> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
- Loading branch information