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]>
- [PATCH v20 11/25] net/pcap: consolidate boolean flag han... Stephen Hemminger
- Re: [PATCH v20 11/25] net/pcap: consolidate boolean... Bruce Richardson
- [PATCH v20 13/25] net/pcap: add link status for interfac... Stephen Hemminger
- Re: [PATCH v20 13/25] net/pcap: add link status for... Bruce Richardson
- [PATCH v20 12/25] net/pcap: support VLAN strip and inser... Stephen Hemminger
- Re: [PATCH v20 12/25] net/pcap: support VLAN strip ... Bruce Richardson
- [PATCH v20 15/25] net/pcap: reject non-Ethernet interfac... Stephen Hemminger
- [PATCH v20 14/25] net/pcap: support nanosecond timestamp... Stephen Hemminger
- Re: [PATCH v20 14/25] net/pcap: support nanosecond ... Bruce Richardson
- [PATCH v20 16/25] net/pcap: reduce scope of file-level v... Stephen Hemminger
- Re: [PATCH v20 16/25] net/pcap: reduce scope of fil... Bruce Richardson
- [PATCH v20 19/25] eal/windows: add wrapper for access fu... Stephen Hemminger
- Re: [PATCH v20 19/25] eal/windows: add wrapper for ... Bruce Richardson
- [PATCH v20 18/25] net/pcap: clarify maximum received pac... Stephen Hemminger
- Re: [PATCH v20 18/25] net/pcap: clarify maximum rec... Bruce Richardson
- [PATCH v20 17/25] net/pcap: avoid use of volatile Stephen Hemminger
- Re: [PATCH v20 17/25] net/pcap: avoid use of volati... Bruce Richardson
- Re: [PATCH v20 17/25] net/pcap: avoid use of vo... Stephen Hemminger
- [PATCH v20 20/25] net/pcap: add snapshot length devarg Stephen Hemminger
- Re: [PATCH v20 20/25] net/pcap: add snapshot length... Bruce Richardson
- [PATCH v20 21/25] net/pcap: add Rx scatter offload Stephen Hemminger

