Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cache: fix new object in callback v2 on updated objects
When calling the callback v2 for objects that were updated, we pass the update ("obj") instead of the updated object ("old") as new. Presumably this wasn't intended, so pass the updated object as new. This avoids weird updates where the new object is significantly smaller than the old one. E.g. for IPv6 multipath route updates, old would be the full route with all nexthops, while new would be a partial route with only the added/removed nexthop. Fixes: 66d032a ("cache_mngr: add include callback v2") Signed-off-by: Jonas Gorski <[email protected]> #381
- Loading branch information