Skip to content

net/i40e: fix memory leaks

Anurag Mandal dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/i40e: fix floating VEB leakdrivers/net/intel/i40e/i40e_ethdev.c+1 -00 replies
2/2net/i40e: fix FDIR memzone leakdrivers/net/intel/i40e/i40e_ethdev.h drivers/net/intel/i40e/i40e_fdir.c+5 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBruce Richardson
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] net/i40e: fix memory leaks

This series fixes few memory leaks in the i40e PMD:

1. When the main VSI was released, only the VSIs attached to the floating VEB were released, not the VEB itself, leaking the VEB structure and its switch element. This only affects setups with floating VEB enabled.

2. The flow director programming packet memzone was reserved at setup but never freed, so it leaked whenever the port was closed.

Anurag Mandal (2):
net/i40e: fix floating VEB leak
net/i40e: fix FDIR memzone leak

 drivers/net/intel/i40e/i40e_ethdev.c | 1 +
 drivers/net/intel/i40e/i40e_ethdev.h | 1 +
 drivers/net/intel/i40e/i40e_fdir.c   | 4 ++++
 3 files changed, 6 insertions(+)
Signature · 1 line
2.25.1