> -Original Message-
> From: David Marchand
> Sent: 14 октября 2021 г. 14:37
> To: dev@dpdk.org
> Cc: Dmitry Kozlyuk ; sta...@dpdk.org; Matan Azrad
> ; Slava Ovsiienko ;
> Xueming(Steven) Li ; Jack Min
> Subject: [PATCH] net/mlx5: do not close stdin on error
>
> External email: Use cauti
If for any reason, a socket could not be opened, mlx5_pmd_socket_init()
could close the 0 fd (which is valid, and has a fair chance to be stdin),
since server_socket == 0 from the variable being in .bss.
Fixes: e6cdc54cc0ef ("net/mlx5: add socket server for external tools")
Cc: sta...@dpdk.org
Si
2 matches
Mail list logo