]> git.proxmox.com Git - mirror_frr.git/commit
lib, bgpd: Disallow processing of duplicate config.
authorNaveen Thanikachalam <nthanikachal@vmware.com>
Wed, 8 May 2019 09:58:27 +0000 (02:58 -0700)
committerNaveen Thanikachalam <nthanikachal@vmware.com>
Thu, 9 May 2019 04:22:23 +0000 (21:22 -0700)
commit6c3247bd2a937b136bca61eb0089a884b558dec3
tree5b6570cfffe365ebdf8fa0a75628dfaf7cb00fd1
parenteb6967279c5effc48252e70694061aa20b4e26f3
lib, bgpd: Disallow processing of duplicate config.

This fix aims to reduce the load on BGPD when certain
exisiting configurations are replayed.
Specifically, the fix prevents BGPD from processing
routes when the following already existing configurations
are replayed:
1) A match criteria is configured within a route-map.
2) When "call" is invoked within a route-map.
3) When a route-map is tied to a BGP neighbor.

Signed-off-by: NaveenThanikachalam <nthanikachal@vmware.com>
bgpd/bgpd.c
lib/routemap.c