summaryrefslogtreecommitdiff
path: root/bgpd/bgp_route.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-12-06 14:46:42 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2012-01-02 17:15:09 +0400
commit4fafd3deef6eecab229e8b35189ffbc1f1ce9806 (patch)
treec9d566aacaa7da44c5189343872c91e19bc80411 /bgpd/bgp_route.c
parentc17fbd6b1eb38e71aba65c593fa41f2e54f0b896 (diff)
ospfd: avoid redundant lookup in ospf_redistribute_withdraw
The old algorithim looked up every node twice as it withdrew the entry. It looks up entry once in redistribute_withdraw, then looks it up again info_delete. Use result of first lookup to do the free directly. This may explain the slow performance observed in https://bugzilla.vyatta.com/show_bug.cgi?id=4421
Diffstat (limited to 'bgpd/bgp_route.c')
0 files changed, 0 insertions, 0 deletions