numam-dpdk/lib/librte_rib
Vladimir Medvedkin e682b02084 rib: fix insertion in some cases
According to GCC documentation for __builtin_clz:
Returns the number of leading 0-bits in x,
starting at the most significant bit position.
If x is 0, the result is undefined.
__builtin_clz will be called with 0 if the existing
prefix address matches the one we want to insert.

Fixes: 5a5793a5ff ("rib: add RIB library")
Cc: stable@dpdk.org

Reported-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
2020-12-15 10:08:39 +01:00
..
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
rte_rib6.c rib: check for negative maximum of nodes 2020-07-07 23:22:18 +02:00
rte_rib6.h rib: add C++ include guard 2020-07-07 23:24:38 +02:00
rte_rib.c rib: fix insertion in some cases 2020-12-15 10:08:39 +01:00
rte_rib.h rib: add C++ include guard 2020-07-07 23:24:38 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00