diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2016-06-18 01:25:54 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2016-06-18 01:25:54 +0000 |
commit | e9b20c9afa8bba88e98619240292213e870b55b2 (patch) | |
tree | c28d44bd41c5be9877cf5a6673901818ccc50818 /usr.sbin/ldpd/labelmapping.c | |
parent | dec78b720b31d789236356d18e5ee4e38aaf8609 (diff) |
Fix small LIB<->LFIB synchronization issue.
ldpd operates only with the best routes of each IP prefix. In other words,
the routes with the lowest priorities.
When a route with a better priority is detected (possibly with a different
nexthop), we should uninstall the labels from the "old" routes and try
to install a new label for the new route (if there's one available in
the LIB).
In this specific case, ldpd was failing to uninstall the labels from the
old routes because it wasn't keeping track of each route's priority in
lde. With this missing bit of information, the parent process had no way
to get the correct label to uninstall when processing a IMSG_KLABEL_DELETE
message.
Diffstat (limited to 'usr.sbin/ldpd/labelmapping.c')
0 files changed, 0 insertions, 0 deletions