diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-02-05 19:00:43 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-02-05 19:00:43 +0100 |
commit | 6e8fb66859a17b295cd9246264221a75cdbe6c55 (patch) | |
tree | a664f3e938c927355a44ccccd0ff4da0d50b166c /nest/rt-fib.c | |
parent | 52fdd1cb76be1e278799001fa57f56888062dd86 (diff) |
Nest: Improve export counter handling
One of previous workarounds for phantom route avoidance breaks export
counters by expanding sending of spurious withdraws, which are send when
we are not sure whether we have advertised that routes in the past.
If not, then export counter is decreased, but it was not increased
before, so it overflows under zero.
The patch fixes that by sendung spurious withdraws, but not counting them
on export counter. That may lead to error in the other direction, but that
happens only as a race condition (i.e., in normal operation filters
return proper values about old route export state).
Diffstat (limited to 'nest/rt-fib.c')
0 files changed, 0 insertions, 0 deletions