[dpdk-dev] [PATCH v3] hash: added a new API to hash to query key id

Thomas Monjalon thomas at monjalon.net
Mon Nov 25 18:54:02 CET 2019


> From: Aaron Conole <aconole at redhat.com>
> > -	if (!service_valid(id))
> > +	if (id >= RTE_SERVICE_NUM_MAX || !service_valid(id))

Why not adding this check in service_valid()?





More information about the dev mailing list