]> granicus.if.org Git - libnl/commit
cache pickup: Avoid duplicates during cache pickup
authorroopa <roopa@cumulusnetworks.com>
Fri, 21 Dec 2012 02:32:00 +0000 (18:32 -0800)
committerThomas Graf <tgraf@suug.ch>
Fri, 21 Dec 2012 12:30:21 +0000 (13:30 +0100)
commit96bb7c9a4cdd10a2665c0f56120943e79e33c560
treee868d385a5eb891dcbb4b9cf5d35d4cf2011e318
parent91ab1bea5eb8737c19256c04306afa4d3364344e
cache pickup: Avoid duplicates during cache pickup

This patch adds search and replace/update functionality
to cache pickup_cb. This change is required to avoid
duplicates getting into the cache during pickup. Also
helps updating existing objects during cache pickup.
We have seen this in cases of ipv6 equal cost multipath
routes

changes v1 to v2:
- Updated documentation

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
lib/cache.c