Cc: sta...@dpdk.org Signed-off-by: Vipin P R <vip...@vmware.com> Acked-by: Kumara Parameshwaran <kparamesh...@vmware.com> --- lib/eal/common/eal_common_fbarray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/eal/common/eal_common_fbarray.c b/lib/eal/common/eal_common_fbarray.c index 551bd87..90240e8 100644 --- a/lib/eal/common/eal_common_fbarray.c +++ b/lib/eal/common/eal_common_fbarray.c @@ -511,7 +511,7 @@ find_prev_n(const struct rte_fbarray *arr, unsigned int start, unsigned int n, * as well, so skip that on next iteration. */ ignore_msk = UINT64_MAX << need; - msk_idx = lookbehind_idx; + msk_idx = lookbehind_idx + 1; break; } -- 2.7.4