[PATCH] cache pickup: Avoid duplicates during cache pickup

Thomas Graf tgraf at suug.ch
Mon Dec 17 09:28:15 EST 2012


On 12/12/12 at 09:45pm, roopa at cumulusnetworks.com wrote:
> From: roopa <roopa at cumulusnetworks.com>
> 
> 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
> 
> Signed-off-by: Roopa Prabhu <roopa at cumulusnetworks.com>

OK, I can see the value in this. Can you please update
the documentation of the affected functions to reflect
this change? Specifically nl_cache_pickup() and
nl_cache_parse_and_add() and respin the patch?



More information about the libnl mailing list