[dpdk-dev] [PATCH v2] lib/ether: prevent duplicate callback on list
Thomas Monjalon
thomas.monjalon at 6wind.com
Tue Oct 25 23:35:02 CEST 2016
2016-10-20 09:34, E. Scott Daniels:
> This change prevents the attempt to add a structure which is
> already on the callback list. If a struct with matching
> parameters is found on the list, then no action is taken. If
> a struct with matching parameters is found on the list, then
> no action is taken.
Callback is not duplicate anymore but the last sentence is duplicate :)
> Fixes: ac2f69c ("ethdev: fix crash if malloc of user callback fails")
>
> Signed-off-by: E. Scott Daniels <daniels at research.att.com>
> ---
>
> V2:
> * Correct the component name; changed from net/ixgbe.
> * Add Fixes tag.
> * Acked-by: Wenzhuo Lu <Wenzhuo.lu at intel.com>
The Acked-by tag must be added below your Signed-off-by.
Applied with above nits fixed, thanks
More information about the dev
mailing list