[PATCH] eal: fix device unregister for event registered with device_name NULL
David Marchand
david.marchand at redhat.com
Thu Oct 10 12:00:15 CEST 2024
On Thu, Jul 18, 2024 at 9:37 PM <longli at linuxonhyperv.com> wrote:
>
> From: Malcolm Bumgardner <mbumgard at cisco.com>
>
> 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.
>
> Fixes: a753e53d517b ("eal: add device event monitor framework")
> Cc: stable at dpdk.org
>
> Signed-off-by: Malcolm Bumgardner <mbumgard at cisco.com>
> Signed-off-by: Long Li <longli at microsoft.com>
Reviewed-by: Stephen Hemminger <stephen at networkplumber.org>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list