Re: [PATCH 5/8] trace: fix race in debug dump

2022-10-11 Thread Jerin Jacob
On Wed, Sep 21, 2022 at 5:35 PM David Marchand wrote: > > trace->nb_trace_mem_list access must be under trace->lock to avoid > races with threads allocating/freeing their trace buffers. > > Fixes: f6b2d65dcd5d ("trace: implement debug dump") > Cc: sta...@dpdk.org > > Signed-off-by: David Marchand

[PATCH 5/8] trace: fix race in debug dump

2022-09-21 Thread David Marchand
trace->nb_trace_mem_list access must be under trace->lock to avoid races with threads allocating/freeing their trace buffers. Fixes: f6b2d65dcd5d ("trace: implement debug dump") Cc: sta...@dpdk.org Signed-off-by: David Marchand --- lib/eal/common/eal_common_trace.c | 6 +++--- 1 file changed, 3