diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-02-19 16:00:30 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-02-19 16:02:53 +0100 |
commit | 2dd9800ab51a309add1c56aa9659c41f30481299 (patch) | |
tree | ec5a6b5f86ff62e2b33d587373d1c56a2fa9a0b4 /tools | |
parent | b4438e40efa498325f38f0bf4681ecb2bbba4da7 (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 sending 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 'tools')
0 files changed, 0 insertions, 0 deletions