efd: fix write unlock during ring creation
authorChaitanya Babu Talluri <tallurix.chaitanya.babu@intel.com>
Wed, 14 Nov 2018 11:24:06 +0000 (11:24 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 18 Nov 2018 14:46:02 +0000 (15:46 +0100)
commitf493119397d0f5dbe33f67697ff09aa646e5f17c
tree48927ec4cdbdf0538cff28118c2ed6190e79659c
parentc04e679e860697f4d5f4531c498fe9a773d585fd
efd: fix write unlock during ring creation

In rte_efd_create() write lock has already been unlocked
before ring creation itself.
So second unlock after the ring creation has been removed.

Fixes: 56b6ef874f80 ("efd: new Elastic Flow Distributor library")
Cc: stable@dpdk.org
Signed-off-by: Chaitanya Babu Talluri <tallurix.chaitanya.babu@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_efd/rte_efd.c