]> git.puffer.fish Git - matthieu/frr.git/commit
doc, zebra: Remove `keep_kernel_mode` from zebra
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 11 May 2019 07:50:11 +0000 (03:50 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 23 May 2019 23:36:41 +0000 (19:36 -0400)
commit33656d2db287fd293be0cfc59885e2b8ebc2ecad
treeca74766f9eb56cb73bf1aeb2a8838fa979153b35
parentd4644d4196a74ef406a21b6fa6eb4a64b045bde3
doc, zebra: Remove `keep_kernel_mode` from zebra

This code doees this:

a) Imagine ospf installs a route into zebra.  Zebra crashes and
we restart FRR.  If we are using the -k option on zebra than
all routes are re-read in, including this OSPF route.
b) Now imagine at the same time that zebra is starting backup
ospf on a different router looses a link to the this route.
c) Since zebra was run with -k this OSPF route is read back
in but never replaced and we now have a route pointing out
an interface to other routers that cannot handle it.

We should never allow users to implement bad options from zebra's
perspective that allow them to put themselves into a clear problem
state and additionally we have *absolutely* no mechanism to ever
fix that broken route without special human interaction.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
doc/user/zebra.rst
zebra/main.c