On Mon, Oct 19, 2026 at 06:06:48PM +0100, Bruce Richardson wrote: > AI review flags the fact that this commit also introduces an erroneous > rte_free call in iavf_uninit_vf() in iavf_ethdev.c. While the call is > harmless (and earler free is done and the pointer is set to NULL making > rte_free a no-op) it would be good to remove that too.
Thanks, Bruce. Yes, f6e33f09f766 added that rte_free() after the free() and the NULL that the leak fix had put there. v2 removes it in the same patch, and the commit message tells it. I tested v2 with an ASan build of testpmd on an E830 VF: hierarchy commit, port stop, port reset, port start, and close. There is no ASan report, and the VF advertises runtime queue setup again after the reset. Dawid --------------------------------------------------------------------- Intel Technology Poland sp. z o.o. ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN. Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach handlowych. Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.

