[dpdk-dev] [PATCH v2 07/30] net/mlx5: fix reta update can segfault
Yongseok Koh
yskoh at mellanox.com
Fri Oct 6 02:51:12 CEST 2017
> On Oct 5, 2017, at 5:49 AM, Nelio Laranjeiro <nelio.laranjeiro at 6wind.com> wrote:
>
> Reta update needs to stop/start the port but stopping the port does not
> disable the polling functions which may end in a segfault if a core is
> polling the queue while the control thread is modifying it.
>
> This patch changes the sequences to an order where such situation cannot
> happen.
>
> Fixes: aa13338faf5e ("net/mlx5: rebuild flows on updating RETA")
> Cc: yskoh at mellanox.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
> ---
Acked-by: Yongseok Koh <yskoh at mellanox.com>
Thanks
More information about the dev
mailing list