numam-dpdk/drivers/net/mlx4
Viacheslav Ovsiienko b014c6b7b5 net/mlx4: fix buffer leakage on device close
The mlx4 PMD tracks the buffers (mbufs) for the packets being
transmitted in the dedicated array named as "elts". The tx_burst
routine frees the mbufs from this array once it needs to rearm
the hardware descriptor and store the new mbuf, so it looks
like as replacement mbuf pointer in the elts array.

On the device stop mlx4 PMD freed only the part of elts according
tail and head pointers, leaking the rest of buffers, remained in
the elts array.

Fixes: a2ce2121c0 ("net/mlx4: separate Tx configuration functions")
Cc: stable@dpdk.org

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2021-04-28 08:43:31 +02:00
..
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
mlx4_ethdev.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
mlx4_flow.c net/mlx4: fix RSS action with null hash key 2021-04-13 13:38:13 +02:00
mlx4_flow.h ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
mlx4_glue.c
mlx4_glue.h
mlx4_intr.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
mlx4_mp.c net/mlx4: fix port attach in secondary process 2021-01-29 18:16:08 +01:00
mlx4_mr.c
mlx4_mr.h
mlx4_prm.h
mlx4_rxq.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
mlx4_rxtx.c net/mlx4: fix buffer leakage on device close 2021-04-28 08:43:31 +02:00
mlx4_rxtx.h net/mlx4: fix port attach in secondary process 2021-01-29 18:16:08 +01:00
mlx4_txq.c net/mlx4: fix buffer leakage on device close 2021-04-28 08:43:31 +02:00
mlx4_utils.c
mlx4_utils.h net/mlx4: enable debug logs dynamically 2021-03-15 14:30:53 +01:00
mlx4.c ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
mlx4.h net/mlx4: fix port attach in secondary process 2021-01-29 18:16:08 +01:00
version.map