]> git.puffer.fish Git - mirror/frr.git/commit
[bgpd] Fix bug where a deleted route that was quickly re-added was being lost
authorAndrew J. Schorr <ajschorr@alumni.princeton.edu>
Tue, 28 Nov 2006 19:50:46 +0000 (19:50 +0000)
committerAndrew J. Schorr <ajschorr@alumni.princeton.edu>
Tue, 28 Nov 2006 19:50:46 +0000 (19:50 +0000)
commit8d45210e7c9e221b519d975825cb83aea5ebe47e
tree62629c7693b24c3b4a8e37eed7abe51e5695417d
parent435408866187f3bc3c49b26f11bc83c374e55dd5
[bgpd] Fix bug where a deleted route that was quickly re-added was being lost

2006-11-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* bgp_route.c: (bgp_info_restore) New function that undoes
  the effects of a previous call to bgp_info_delete.  This is
  used when a route is deleted and quickly re-added before the
  deletion has been processed.
  (bgp_static_update_rsclient, bgp_static_update_main,
  bgp_redistribute_add) Check whether a pre-existing route
  has the BGP_INFO_REMOVED set, and, if so, we need to call
  bgp_info_restore to resurrect it.
bgpd/ChangeLog
bgpd/bgp_route.c