No description
Find a file
Holger Eitzenberger 0020ba1212 cache: avoid duplicate check on initial dump
The cache pickup does a check for duplicates for some time now.

However, the pickup in nl_cache_refill() explicitely clears the
cache, so the pickup doesn't need to actually do the dupe check,
as uniqueness is already guaranteed be Netlink subsystem.

And avoiding the dup check is beneficitial for performance
reasons, as the current algorithm is O(n^2).

http://lists.infradead.org/pipermail/libnl/2014-October/001680.html

Fixes: 96bb7c9a4c
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-11-23 15:58:13 +01:00
.travis travis-ci: run make check in travis build 2014-08-26 14:15:36 +02:00
doc libnl-3.2.25 release 2014-07-16 11:19:12 +02:00
etc pktloc: support to specify a shift operator for packet locations 2010-11-04 20:01:36 +01:00
include cache: avoid duplicate check on initial dump 2014-11-23 15:58:13 +01:00
lib cache: avoid duplicate check on initial dump 2014-11-23 15:58:13 +01:00
m4 doc: Check documentation generation requirements with autoconf 2012-05-09 10:06:24 +02:00
man genl: Update genl-ctrl-list(8) 2012-06-01 13:10:03 +02:00
python Use paths relative to srcdir in setup.py. 2014-05-25 12:51:32 +02:00
src build: move copy of linux headers to private directory 2014-09-24 16:00:31 +02:00
tests build: move copy of linux headers to private directory 2014-09-24 16:00:31 +02:00
.gitignore gitignore: ignore patch files 2014-04-16 10:08:47 +02:00
.indent.pro style: add .indent.pro file for GNU indent 2014-07-27 10:57:36 +02:00
.travis.yml build: Add continuous integration support via travis-ci 2014-08-26 12:41:38 +02:00
autogen.sh build: let autogen.sh script change into top source directory 2014-07-07 11:12:38 +02:00
ChangeLog libnl 3.2.10 2012-06-06 11:43:53 +02:00
configure.ac build: generate libnl-idiag-3.0.pc 2014-09-22 11:06:05 +02:00
COPYING Update COPYING to fix FSF address 2012-01-17 12:38:37 +01:00
libnl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-cli-3.0.pc.in Add libnl-cli-3.0 to pkg-config tool 2011-10-10 11:39:24 +02:00
libnl-genl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-idiag-3.0.pc.in Add support for inet diag Netlink protocol. 2013-07-19 02:06:21 -07:00
libnl-nf-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-route-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-xfrm-3.0.pc.in xfrm: add xfrm support 2014-07-20 18:14:46 +02:00
libnl.sym.in lib/socket: retry generate local port in nl_connect on ADDRINUSE 2014-05-06 14:34:58 +02:00
Makefile.am build: generate libnl-idiag-3.0.pc 2014-09-22 11:06:05 +02:00