numam-dpdk/drivers/vdpa
David Marchand ea2810fc21 vdpa/mlx5: fix leak on event thread creation
As stated in the manual, pthread_attr_init return value should be
checked.
Besides, a pthread_attr_t should be destroyed once unused.

In practice, we may have no leak (from what I read in glibc current code),
but this may change in the future.
Stick to a correct use of the API.

Fixes: 5cf3fd3af4 ("vdpa/mlx5: add CPU core parameter to bind polling thread")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2022-07-08 11:15:32 +02:00
..
ifc vdpa/ifc: fix vhost message size check 2022-07-01 15:49:49 +02:00
mlx5 vdpa/mlx5: fix leak on event thread creation 2022-07-08 11:15:32 +02:00
sfc vdpa/sfc: fix sync between QEMU and vhost-user 2022-07-01 15:49:49 +02:00
meson.build vdpa/sfc: introduce Xilinx vDPA driver 2021-11-04 13:43:23 +01:00