• Ondřej Zajíček's avatar
    KRT: Fix route learn scan when route changed · e86cfd41
    Ondřej Zajíček authored
    When a kernel route changed, function krt_learn_scan() noticed that and
    replaced the route in internal kernel FIB, but after that, function
    krt_learn_prune() failed to propagate the new route to the nest, because
    it confused the new route with the (removed) old best route and decided
    that the best route did not changed.
    
    Wow, the original code (and the bug) is almost 17 years old.
    e86cfd41