diff options
| author | mitesh <mitesh@cumulusnetworks.com> | 2017-10-16 14:57:42 -0700 |
|---|---|---|
| committer | Mitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com> | 2017-12-14 10:57:06 -0800 |
| commit | 6134fd82a000fb043fc3c0eb5e08cd5ec4f3bfca (patch) | |
| tree | 08ec7e6dd4356d909feae42779ca7436e82aae12 /zebra/rt_netlink.c | |
| parent | a89b49cc4e4e5360cb77fd5c897c42af89cbc555 (diff) | |
zebra: proper refcounting for rmac/nh entries
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.comy>
Diffstat (limited to 'zebra/rt_netlink.c')
| -rw-r--r-- | zebra/rt_netlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index cbe736e00c..c5ca57e5b4 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -535,13 +535,13 @@ static int netlink_route_change_read_unicast(struct sockaddr_nl *snl, memcpy(&nh.gate, gate, sz); rib_delete(afi, SAFI_UNICAST, vrf_id, proto, 0, flags, &p, NULL, &nh, - table, metric, true); + table, metric, true, NULL); } else { /* XXX: need to compare the entire list of nexthops * here for NLM_F_APPEND stupidity */ rib_delete(afi, SAFI_UNICAST, vrf_id, proto, 0, flags, &p, NULL, NULL, - table, metric, true); + table, metric, true, NULL); } } |
