dect
/
libnl
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
libnl/lib
roopa 4d94ed5f6b Bug Fix: Add new fill socket to cache manager
This patch adds a new socket to cache manager to request fill's on.
cache manager today uses cm_sock to request dump from
the kernel. It also listens to netlink async events on the same sock.
The problem with this is that when libnl is waiting to process the
response to get dump request sent to the kernel during fill,
it may receive an async event, resulting in libnl complaining about
unexpected msg

This is usually reproducible when there is heavy netlink async event
traffic during nl_cache_mngr_add.

This patch adds a new cm_sync_sock to use for fill during cache manager
add cache.

The other option is to provide an api to set the cm_sync_sock. But since
this is a bug fix its probably better to fix the cache manager add api
like this patch does. Please suggest otherwise.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Reviewed-by: Nolan Leake <nolan@cumulusnetworks.com>
Reviewed-by: Shrijeet Mukherjee <shm@cumulusnetworks.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2012-11-19 10:15:04 +01:00
..
cli Support plug qdisc - queue traffic until explicit release 2012-02-14 12:02:04 +01:00
fib_lookup doc: documentation restructuring 2012-05-10 12:03:59 +02:00
genl genl/family flags can be damaged during the auto-indentation. 2012-10-19 22:16:44 +06:00
netfilter cache: provide safe variant of nl_cache_mngt_require() and use it 2012-11-16 01:11:55 +01:00
route cache: provide safe variant of nl_cache_mngt_require() and use it 2012-11-16 01:11:55 +01:00
.gitignore Added lex.yy.c to .gitignore 2012-08-30 03:19:04 +06:00
Makefile.am Add nl hashtable structures and access functions 2012-11-10 00:12:36 +01:00
addr.c Address comparison bug fixed 2012-08-30 21:00:39 +06:00
attr.c Use NL_DBG() instead of printing warnings and errors to stderr 2012-11-16 00:42:34 +01:00
cache.c cache: provide safe variant of nl_cache_mngt_require() and use it 2012-11-16 01:11:55 +01:00
cache_mngr.c Bug Fix: Add new fill socket to cache manager 2012-11-19 10:15:04 +01:00
cache_mngt.c cache: provide safe variant of nl_cache_mngt_require() and use it 2012-11-16 01:11:55 +01:00
data.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
error.c Support for NLM_F_INTR 2011-07-14 10:51:49 +02:00
handlers.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
hash.c Hash: Properly prefix hash functions 2012-11-10 10:22:26 +01:00
hashtable.c hashtable: remove doc section crashing doxygen 2012-11-11 11:21:10 +01:00
msg.c use safe cache lookup variants internally 2012-11-16 00:29:58 +01:00
nl.c nl: Improve API doc of nl_send_simple() 2012-11-08 21:17:32 +01:00
object.c use safe cache lookup variants internally 2012-11-16 00:29:58 +01:00
socket.c lock abstraction layer 2012-11-15 21:30:57 +01:00
utils.c Use NL_DBG() instead of printing warnings and errors to stderr 2012-11-16 00:42:34 +01:00
version.c Run-time version information is now available 2012-08-30 03:19:04 +06:00