06/07/2026 13:52, Maayan Kashani:
> From: Shani Peretz <[email protected]>
> 
> When a port is closed via close_port(), port_free_job_list() frees the
> job_list but does not NULL the pointer or reset queue_nb. If the port
> is later reattached and "flow configure" is issued, port_flow_configure()
> frees the dangling job_list pointer, causing a double-free.
> 
> Fix this by setting job_list to NULL and resetting queue_nb to zero in
> port_free_job_list() after freeing.
> 
> Fixes: 7fadc8039588 ("app/testpmd: fix memory leak in port flow configure")
> Cc: [email protected]
> 
> Signed-off-by: Shani Peretz <[email protected]>
> Acked-by: Dariusz Sosnowski <[email protected]>

Applied, thanks.


Reply via email to