diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-07-03 17:52:51 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-07-03 18:00:52 +0200 |
commit | a81e18da254ddd7cccff82feab61aa943a277805 (patch) | |
tree | 4e30d3e26b9eeb3385179afd2aab252e29c4ab5b /nest/protocol.h | |
parent | 8e86ffce8251f4e48f61b6d8e89966d037ef8e59 (diff) |
Nest: Fix race condition during reconfiguration
If export filter is changed during reconfiguration and a route disappears
between reconfiguration and refeed (e.g., if the route is a static route
also removed during the reconfiguration), the route is not withdrawn.
The patch fixes that by adding tx reconfiguration timestamp.
Diffstat (limited to 'nest/protocol.h')
-rw-r--r-- | nest/protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/protocol.h b/nest/protocol.h index dd942c10..f0b65598 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -536,6 +536,7 @@ struct channel { u8 gr_wait; /* Route export to channel is postponed until graceful restart */ btime last_state_change; /* Time of last state transition */ + btime last_tx_filter_change; }; |