[dpdk-dev] [PATCH v2] i40e: fix using memory after free issue

Bruce Richardson bruce.richardson at intel.com
Fri Mar 25 17:04:37 CET 2016


On Fri, Mar 25, 2016 at 09:17:01AM +0000, Jiangu Zhao wrote:
> The old code still uses entry in the next loop of LIST_FOREACH after free() in i40e_res_pool_destroy().
> Change to a safe way to free entry, which is similar with LIST_FOREACH_SAFE in FreeBSD.
> 
> Fixes: 4861cde46116 ("i40e: new poll mode driver")
> 
> Signed-off-by: Jiangu Zhao <zhaojg at arraynetworks.com.cn>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Applied to dpdk-next-net/rel_16_04

/Bruce


More information about the dev mailing list