numam-dpdk/lib
Dharmik Thakkar 2bc731197b hash: fix position returned in free slots
Currently, in rte_hash_free_key_with_position(), the position returned
to the ring of free_slots leads to an unexpected conflict with a key
already in use.

This patch fixes incorrect position returned to the ring of free_slots.

Bugzilla ID: 261
Fixes: 9d033dac7d ("hash: support no free on delete")
Cc: stable@dpdk.org

Reported-by: Linfan <zhongdahulinfan@163.com>
Suggested-by: Linfan <zhongdahulinfan@163.com>
Signed-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Acked-by: Yipeng Wang <yipeng1.wang@intel.com>
2019-05-09 22:29:36 +02:00
..
librte_acl doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_bbdev doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_bitratestats bitrate: fix unchecked return value 2019-04-23 00:19:06 +02:00
librte_bpf doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_cfgfile cfgfile: replace strcat with strlcat 2019-04-05 14:48:15 +02:00
librte_cmdline replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
librte_compressdev replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
librte_cryptodev doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_distributor doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_eal ipc: add warnings about correct API usage 2019-05-09 17:50:59 +02:00
librte_efd doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_ethdev doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_eventdev eventdev: update references to removed function 2019-05-04 23:19:08 +02:00
librte_flow_classify doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_gro gro: check invalid TCP header length 2019-01-17 22:38:54 +01:00
librte_gso gso: fix VxLAN/GRE tunnel checks 2019-01-22 17:08:21 +01:00
librte_hash hash: fix position returned in free slots 2019-05-09 22:29:36 +02:00
librte_ip_frag doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_ipsec ipsec: fix headers install 2019-05-09 15:21:39 +02:00
librte_jobstats replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
librte_kni kni: fix type for MAC address 2019-04-19 23:07:17 +02:00
librte_kvargs build: add module definition files for Windows 2019-04-03 01:21:31 +02:00
librte_latencystats doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_lpm doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_mbuf doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_member replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
librte_mempool doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_meter meter: replace color definitions 2019-04-11 14:27:32 +02:00
librte_metrics metrics: disallow null as metric name 2018-07-26 20:30:18 +02:00
librte_net net: fix Tx VLAN flag for offload emulation 2019-04-05 17:45:22 +02:00
librte_pci pci: fix parsing of address without function number 2018-11-13 17:59:42 +01:00
librte_pdump replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
librte_pipeline doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_port port: add symmetric crypto 2018-10-12 19:33:02 +02:00
librte_power power: fix cache line alignment 2019-05-09 21:07:55 +02:00
librte_rawdev doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_rcu rcu: add RCU library supporting QSBR mechanism 2019-05-02 01:32:41 +02:00
librte_reorder doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_ring doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_sched doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_security doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_stack replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
librte_table doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_telemetry telemetry: fix mapping of statistics 2019-04-02 02:30:53 +02:00
librte_timer timer: fix reset/stop in callback for new API 2019-05-03 23:07:36 +02:00
librte_vhost doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
Makefile rcu: add RCU library supporting QSBR mechanism 2019-05-02 01:32:41 +02:00
meson.build rcu: add RCU library supporting QSBR mechanism 2019-05-02 01:32:41 +02:00