[dpdk-dev] [PATCH v2] lib/ether: prevent duplicate callback on list

2016-10-26 Thread Thomas Monjalon
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

[dpdk-dev] [PATCH v2] lib/ether: prevent duplicate callback on list

2016-10-20 Thread 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. Fixes: ac2f69c ("ethdev: fix crash if