[dpdk-stable] [PATCH] ethdev: avoid unregistering a non-allocated callback
Andrew Rybchenko
andrew.rybchenko at oktetlabs.ru
Tue Jul 13 15:21:45 CEST 2021
On 7/13/21 4:17 PM, Thomas Monjalon wrote:
> When registering a new event callback, if allocation fails,
> there is no need for unregistering the callback,
> because it is not registered.
>
> Fixes: 9ec0b3869d8d ("ethdev: allow event registration for all ports")
> Cc: stable at dpdk.org
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
More information about the stable
mailing list