On Tue, Mar 10, 2026 at 09:09:54AM -0700, Stephen Hemminger wrote:
> Move errbuf from file scope to local variables in the two functions that
> use it (open_iface_live and open_single_rx_pcap). This avoids potential
> issues if these functions were called concurrently, since each call now
> has its own error buffer.  Move iface_idx to a static local variable
> within pmd_init_internals(), the only function that uses it. The
> variable remains static to preserve the MAC address uniqueness counter
> across calls.
> 
> Signed-off-by: Stephen Hemminger <[email protected]>
> Acked-by: Marat Khalili <[email protected]>
> ---
Acked-by: Bruce Richardson <[email protected]>

Reply via email to