[dpdk-dev] [PATCH v3 1/2] net/mlx5: fix double free on error handling
Yongseok Koh
yskoh at mellanox.com
Tue May 8 21:08:58 CEST 2018
> On May 8, 2018, at 2:11 AM, Raslan Darawsheh <rasland at mellanox.com> wrote:
>
> When attr_ctx is NULL it will attempt to free the list of devices twice.
> Avoid double freeing the list by directly going to error handling.
>
> Fixes: 771fa900b73a ("mlx5: introduce new driver for Mellanox ConnectX-4 adapters")
> Cc: stable at dpdk.org
>
> Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>
Acked-by: Yongseok Koh <yskoh at mellanox.com>
Thanks
More information about the dev
mailing list