Skip to content
Snippets Groups Projects
  1. Mar 25, 2009
  2. Mar 20, 2009
    • Ondřej Zajíček's avatar
      Fix bugs related to kernel table synchronization. · 3d574679
      Ondřej Zajíček authored
      KRF_INSTALLED flag was not cleared during reconfiguration
      that lead to not removing routes during reconfigure when
      export rules changed.
      
      We also should not try to remove routes we didi not installed,
      on Linux this leads to warnings (as kernel checks route source
      field and do not allow to remove non-bird routes) but we should
      not rely on it.
      3d574679
  3. Mar 18, 2009
  4. Mar 14, 2009
  5. Mar 13, 2009
  6. Mar 05, 2009
  7. Feb 27, 2009
    • Ondřej Zajíček's avatar
      Better handling of too long attributes · 82a79586
      Ondřej Zajíček authored
      This patch extends the length for attributes from 1024 to 2048
      (because both AS_PATH and AS4_PATH attributes take 2+4 B per AS).
      
      If there is not enough space for attributes, Bird skips that
      route group. Old behavior (skipping remaining attributes)
      leads to skipping required attributes and session drop.
      82a79586
  8. Feb 26, 2009
  9. Feb 25, 2009
  10. Feb 21, 2009
  11. Feb 12, 2009
  12. Jan 27, 2009
  13. Jan 16, 2009
  14. Jan 13, 2009
    • Ondřej Zajíček's avatar
      Fix typo. · 0dd7ccc7
      Ondřej Zajíček authored
      0dd7ccc7
    • Ondřej Zajíček's avatar
      Fix OSPF protocol error recovery behavior. · 0844b65d
      Ondřej Zajíček authored
      When OSPF neighbor state drops down to EXSTART,
      clear LSA request and retransmit lists, as specified
      by RFC. I hope that this will prevent oscillations
      between EXSTART and LOADING states, which sometimes
      happened.
      
      It also contains related fix from Yury Shevchuk that
      properly resets DB summary list iterator.
      0844b65d
  15. Jan 12, 2009
  16. Jan 11, 2009
  17. Dec 25, 2008
    • Ondřej Zajíček's avatar
      Bugfix in interpret · 330aecea
      Ondřej Zajíček authored
      Missing cases in filter code interpret leads to crash
      when  bgp_next_hop attr was queried.
      330aecea
    • Ondřej Zajíček's avatar
      fixes some 64-bit related bugs. · 083c43e2
      Ondřej Zajíček authored
      Filter code used 'aux' integer field of 'symbol' struct to store ptr
      to next symbol and both 'aux2' and 'def' fields for value.
      Changed to just 'def' for value and 'aux2' for ptr to next symbol.
      Also another minor bugfix.
      083c43e2
  18. Dec 24, 2008
    • Ondřej Zajíček's avatar
      Adds support for fallback to capabilityless BGP connect · 165a6227
      Ondřej Zajíček authored
      When capability related error is received, next connect will be
      without capabilities. Also cease error subcodes descriptions
      (according to [RFC4486]) are added.
      165a6227
    • Ondřej Zajíček's avatar
      Fixes bug related to reconfiguration of BGP. · 59121155
      Ondřej Zajíček authored
      BGP keeps its copy of configuration ptr and didn't update it during
      reconfiguration. But old configuration is freed during reconfiguration.
      That leads to unnecessary reset of BGP connection during reconfiguration
      (old conf is corrupted and therefore different) and possibly other strange
      behavior.
      59121155
  19. Dec 19, 2008
    • Ondřej Zajíček's avatar
      Major changes to BGP · 11b32d91
      Ondřej Zajíček authored
      Fixes two race conditions causing crash of Bird, several unhandled
      cases during BGP initialization, and some other bugs. Also changes
      handling of startup delay to be more useful and implement
      reporting of last error in 'show protocols' command.
      11b32d91
  20. Dec 18, 2008
    • Ondřej Zajíček's avatar
      Fixes nasty bug in event processing. · b933281e
      Ondřej Zajíček authored
      WALK_LIST_DELSAFE (in ev_run_list) is not safe with regard
      to deletion of next node. When some events are rescheduled
      during event execution, it may lead to deletion of next
      node and some events are skipped. Such skipped nodes remain
      in temporary list on stack and the last of them contains
      'next' pointer to stack area. When this event is later
      scheduled, it damages stack area trying to remove it from
      the list, which leads to random crashes with funny
      backtraces :-) .
      b933281e
  21. Dec 12, 2008
  22. Dec 08, 2008
    • Ondřej Zajíček's avatar
      Fixes core state machine. · d6a836f8
      Ondřej Zajíček authored
      The core state machine was broken - it didn't free resources
      in START -> DOWN transition and might freed resources after
      UP -> STOP transition before protocol turned down. It leads
      to deadlock on olock acquisition when lock was not freed
      during previous stop.
      
      The current behavior is that resources, allocated during
      DOWN -> * transition, are freed in * -> DOWN transition,
      and flushing (scheduled in UP -> *) just counteract
      feeding (scheduled in * -> UP). Protocol fell down
      when both flushing is done (if needed) and protocol
      reports DOWN.
      
      BTW, is thera a reason why neighbour cache item acquired
      by protocol is not tracked by resource mechanism?
      d6a836f8