Re: [PATCH] eal: fix device unregister for event registered with device_name NULL

2024-10-10 Thread David Marchand
On Thu, Jul 18, 2024 at 9:37 PM wrote: > > From: Malcolm Bumgardner > > In the device event unregister code, it unconditionally remove all > callbacks which are registered with device_name set to NULL. This results > in many callbacks uncorrectly removed. > > Fix this by only removing callbacks w

Re: [PATCH] eal: fix device unregister for event registered with device_name NULL

2024-09-24 Thread Stephen Hemminger
On Thu, 18 Jul 2024 12:37:28 -0700 lon...@linuxonhyperv.com wrote: > From: Malcolm Bumgardner > > In the device event unregister code, it unconditionally remove all > callbacks which are registered with device_name set to NULL. This results > in many callbacks uncorrectly removed. > > Fix this

[PATCH] eal: fix device unregister for event registered with device_name NULL

2024-07-18 Thread longli
From: Malcolm Bumgardner In the device event unregister code, it unconditionally remove all callbacks which are registered with device_name set to NULL. This results in many callbacks uncorrectly removed. Fix this by only removing callbacks with matching cb_fn and cb_arg. Signed-off-by: Malcolm