]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_nexthop.c
bgpd: Replace refcount with list of ifp names
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 21 Sep 2018 20:02:34 +0000 (16:02 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 21 Sep 2018 20:23:13 +0000 (16:23 -0400)
commitf4c2fb9365a75732e85b63c67974e1a6a939eccb
tree02a5428aeea55a131e3f9d40a4a24fb7bb961d1e
parentaf97a18b1015e05f9c5d220b3f64be875a2058e3
bgpd: Replace refcount with list of ifp names

Track the refcount a bit differently as that it is possible
to get into situations where we have multiple calls for the
same ifc.  So let's just keep a list of the ifc's off of
each `struct bgp_addr` and then keep the hash entry based
upon list count or not.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_nexthop.c