[Patch v2] net/mlx5: fix verbs fd leak in the secondary process
Slava Ovsiienko
viacheslavo at nvidia.com
Thu Jul 7 11:43:30 CEST 2022
> -----Original Message-----
> From: longli at linuxonhyperv.com <longli at linuxonhyperv.com>
> Sent: Wednesday, July 6, 2022 20:49
> To: Matan Azrad <matan at nvidia.com>; Ferruh Yigit <ferruh.yigit at xilinx.com>
> Cc: dev at dpdk.org; Karanjot Singh <ksingh1 at paloaltonetworks.com>; NBU-
> Contact-longli (EXTERNAL) <longli at microsoft.com>
> Subject: [Patch v2] net/mlx5: fix verbs fd leak in the secondary process
>
> From: Long Li <longli at microsoft.com>
>
> FDs passed from rte_mp_msg are duplicated to the secondary process and need
> to be closed.
>
> Fixes: 9a8ab29b84 ("net/mlx5: replace IPC socket with EAL API")
> Signed-off-by: Long Li <longli at microsoft.com>
> ---
> Change in v2: handle error case where mlx5_proc_priv_init() might fail
>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
PS. Nice catch, thank you. Nice catch, thank you, Long
More information about the dev
mailing list