[dpdk-dev] [PATCH] l2fwd-crypto: fix supported key size check

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Jun 7 22:23:02 CEST 2016


> When initializing crypto devices within the app,
> the provided key sizes are checked against the supported
> sizes from the crypto device capabilities.
> 
> When the supported sizes are not a range, but a single value,
> the check may become an infinite loop (when size is not supported).
> 
> Fixes: a061e50a0d97 ("examples/l2fwd-crypto: fix ambiguous input key size")
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>

Tested-by: Min Cao <min.cao at intel.com>

Applied, thanks


More information about the dev mailing list