• Martin Mareš's avatar
    The code was broken for external /29 to /32 routes. Assuming that you · 0077aab4
    Martin Mareš authored
    have one machine publishing a route to 10.1.1.3/32 and another one
    publishing a route to 10.1.1.4/32. If the first machine went down the
    route to 10.1.1.4/32 was wrongly killed by the old code, leading either
    to missing routes or worse to bug()s like "Router parent does not have
    next hop" or just segfaults. The patch fixes this but in the long term a
    redesign is required here. Note that the patch doesn't worse the
    situation, instead it prevents the problems stated. The redesign is
    required to handle multiple routes to small subnets properly.
    
    (by Andreas)
    
    Feela, I think that this is at least a good temporary fix, but it's
    of course up to you to decide.
    0077aab4
topology.h 2.01 KB