Fixes serious bug in core related to route filtering.
If protocol announces a route, route is accepted by import filter to routing table, and later it announces replacement of that route that is rejected by import filter, old route remains in routing table.
This commit is contained in:
parent
717e4c4d81
commit
069bfcb53c
1 changed files with 1 additions and 0 deletions
|
@ -636,6 +636,7 @@ rte_update(rtable *table, net *net, struct proto *p, struct proto *src, rte *new
|
|||
|
||||
drop:
|
||||
rte_free(new);
|
||||
rte_recalculate(table, net, p, src, NULL, NULL);
|
||||
rte_update_unlock();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue