Thread (146 messages) 146 messages, 9 authors, 4d ago

Re: [PATCH v7 1/4] net/iavf: fix MAC addresses leak on reset

From: Bruce Richardson <hidden>
Date: 2026-09-23 14:38:11

On Wed, Sep 23, 2026 at 01:47:25PM +0200, Burakov, Anatoly wrote:
On 9/14/2026 10:17 AM, David Marchand wrote:
quoted
When resetting, calling iavf_dev_uninit + iavf_dev_init results in
leaking the previous dev->data->mac_addrs array.
As a consequence, secondary MAC addresses are lost during a VF reset.

Move the MAC addresses array in the private iavf_info structure, along
the multicast MAC addresses.
Set/clear dev->data->mac_addrs in iavf_dev_init/iavf_dev_uninit.

Consistently use RTE_DIM() to avoid mixing with the multicast addresses
array.

Fixes: e74e1bb6280d ("net/iavf: enable port reset")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <redacted>
---
Acked-by: Anatoly Burakov <redacted>
Series appled to dpdk-next-net-intel.
Thanks,
/Bruce
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help