diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2021-06-30 10:52:29 +0200 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-07-27 12:25:12 +0300 |
| commit | fb8ae704615c5043ffe3209a14f51f7a701c307a (patch) | |
| tree | fc70855d3f7026376cd383501f2027542da72b10 /lib/routemap_cli.c | |
| parent | 381752f3679b43f53f5c72e91153729853930a3f (diff) | |
bgpd: prevent routes loop through itself
Some BGP updates received by BGP invite local router to
install a route through itself. The system will not do it, and
the route should be considered as not valid at the earliest.
This case is detected on the zebra, and this detection prevents
from trying to install this route to the local system. However,
the nexthop tracking mechanism is called, and acts as if the route
was valid, which is not the case.
By detecting in BGP that use case, we avoid installing the invalid
routes.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
(cherry picked from commit 654a5978f695087af062bfc9a382321fa2ccc4ae)
Diffstat (limited to 'lib/routemap_cli.c')
0 files changed, 0 insertions, 0 deletions
