numam-dpdk/doc/guides/rel_notes
Olivier Matz 1aadacb5b0 hash: fix allocation of an existing object
Change rte_hash*_create() functions to return NULL and set rte_errno to
EEXIST when the object name already exists. This is the behavior
described in the API documentation in the header file.

These functions were returning a pointer to the existing object in that
case, but it is a problem as the caller did not know if the object had
to be freed or not.

Doing this change also makes the hash API more consistent with the other
APIs (mempool, rings, ...).

Fixes: 916e4f4f4e ("memory: fix for multi process support")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2016-04-06 17:30:48 +02:00
..
deprecation.rst doc: announce ABI change for PCI class 2016-04-05 17:33:14 +02:00
index.rst doc: rename release notes 2.3 to 16.04 2016-02-10 22:43:32 +01:00
known_issues.rst doc: add known clang compilation issue 2016-03-07 22:28:00 +01:00
rel_description.rst doc: simplify release notes cover 2015-08-12 09:15:27 +02:00
release_1_8.rst doc: fix spellings 2015-12-15 13:50:42 +01:00
release_2_0.rst doc: add missing release notes for mlx4 availability in 2.0 2015-08-17 19:35:37 +02:00
release_2_1.rst doc: add mlx4 release notes for version 2.1 2015-08-17 19:35:37 +02:00
release_2_2.rst doc: add statistics fixes in release notes 2015-12-15 13:50:42 +01:00
release_16_04.rst hash: fix allocation of an existing object 2016-04-06 17:30:48 +02:00
supported_os.rst doc: restructure release notes 2015-08-11 17:28:13 +02:00