cache: provide safe variant of nl_cache_mngt_require() and use it
This makes runtime removal of cache operations possible if non-safe
API is not in use by application. The non-safe API will be removed
in the next major version.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Showing
- include/netlink-local.h 0 additions, 8 deletionsinclude/netlink-local.h
- include/netlink/cache.h 2 additions, 0 deletionsinclude/netlink/cache.h
- lib/cache.c 5 additions, 0 deletionslib/cache.c
- lib/cache_mngt.c 26 additions, 6 deletionslib/cache_mngt.c
- lib/netfilter/log_msg_obj.c 4 additions, 1 deletionlib/netfilter/log_msg_obj.c
- lib/netfilter/queue_msg_obj.c 4 additions, 1 deletionlib/netfilter/queue_msg_obj.c
- lib/route/addr.c 4 additions, 1 deletionlib/route/addr.c
- lib/route/link.c 1 addition, 1 deletionlib/route/link.c
- lib/route/neigh.c 7 additions, 2 deletionslib/route/neigh.c
- lib/route/neightbl.c 2 additions, 1 deletionlib/route/neightbl.c
- lib/route/nexthop.c 8 additions, 2 deletionslib/route/nexthop.c
- lib/route/route_obj.c 4 additions, 1 deletionlib/route/route_obj.c
- lib/route/tc.c 4 additions, 1 deletionlib/route/tc.c
- src/nl-addr-list.c 4 additions, 1 deletionsrc/nl-addr-list.c
Please register or sign in to comment