summaryrefslogtreecommitdiffstats
path: root/doc/user/bgp.rst
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-05-12 15:39:27 +0200
committerDonald Sharp <sharpd@nvidia.com>2022-05-12 16:20:28 +0200
commit56b91d107ffc090c621bac4f2ff93712c49f0d7b (patch)
treeb7601bde78ea1ae6a2db1c46c9f9a821babd2fcd /doc/user/bgp.rst
parentMerge pull request #11176 from anlancs/fix/bgpd-remove-for-type2-prefix (diff)
downloadfrr-56b91d107ffc090c621bac4f2ff93712c49f0d7b.tar.xz
frr-56b91d107ffc090c621bac4f2ff93712c49f0d7b.zip
bgpd: Prevent crash when issuing various forms of `bgp no-rib`
The `bgp no-rib` command cycles through all the bgp rib tables and removes them from zebra. Modify the code so that FRR notices that it is attempting to cycle through the safi's that are two level tables. In addition these safi's cannot just blindly remove the routes from the rib as that there are none explicitly. This code just prevents the crash in bgpd. It does not properly cycle through and remove the zebra changes made that are explicit to these afi's. This should be handled as appropriate by the developers on these safi's when it becomes important to them. Fixes: #11178 Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to '')
-rw-r--r--doc/user/bgp.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index 163a12c4d..06fdc5f87 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -3996,7 +3996,8 @@ the daemons RIB from Zebra and unsetting it will announce all routes in the
daemons RIB to Zebra. If the option is passed as a command line argument when
starting the daemon and the configuration gets saved, the option will persist
unless removed from the configuration with the negating command prior to the
-configuration write operation.
+configuration write operation. At this point in time non SAFI_UNICAST BGP
+data is not properly withdrawn from zebra when this command is issued.
.. clicmd:: bgp send-extra-data zebra