Re: [PATCH v2] failsafe: fix segfault on hotplug event

2022-11-10 Thread Stephen Hemminger
On Thu, 10 Nov 2022 12:42:43 -0500 Luc Pelletier wrote: > When the failsafe PMD encounters a hotplug event, it switches its rx/tx > functions to "safe" ones that validate the sub-device's rx/tx functions > before calling them. It switches the rx/tx functions by changing the > function pointers in

[PATCH v2] failsafe: fix segfault on hotplug event

2022-11-10 Thread Luc Pelletier
When the failsafe PMD encounters a hotplug event, it switches its rx/tx functions to "safe" ones that validate the sub-device's rx/tx functions before calling them. It switches the rx/tx functions by changing the function pointers in the rte_eth_dev structure. Following commit 7a0935239b9e, the rx