]> git.proxmox.com Git - mirror_frr.git/commit
lib: Changes made to dependencies of a r-map do not take effect.
authorNaveen Thanikachalam <nthanikachal@vmware.com>
Wed, 15 May 2019 07:09:08 +0000 (00:09 -0700)
committerNaveen Thanikachalam <nthanikachal@vmware.com>
Fri, 31 May 2019 17:05:19 +0000 (10:05 -0700)
commite2c8d6ce90a597d7d0ac9149b618f9eef83bf73c
tree2c5121acddf36435f317d11a06ac126f54f413a4
parent9c61cec7e3847a4b9841c7914d57c93e3387929a
lib: Changes made to dependencies of a r-map do not take effect.

Say, more than one sequence of a route-map uses the same named entity
in its match clause. After that entity is removed from any one of the
route-map sequences, any further changes made to that entity doesn't
dynamically take effect.
A reference counter, that allows the named entity to keep a count of
the route-maps dependent on it,  has been introduced to address this issue.

Signed-off-by: NaveenThanikachalam <nthanikachal@vmware.com>
bgpd/bgp_routemap.c
bgpd/bgp_rpki.c
eigrpd/eigrp_routemap.c
lib/routemap.c
lib/routemap.h
zebra/zebra_routemap.c