[PATCH] cache pickup: Avoid duplicates during cache pickup

Roopa Prabhu roopa at cumulusnetworks.com
Mon Dec 17 09:51:49 EST 2012


On 12/17/12 6:28 AM, Thomas Graf wrote:
> 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?
>

Will do. thanks.



More information about the libnl mailing list