]> git.ipfire.org Git - thirdparty/bird.git/commit
RPKI: Fix unnecessary reconnection on reconfiguration
authorKazuki Yamaguchi <k@rhe.jp>
Wed, 3 Jun 2020 13:05:35 +0000 (15:05 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 3 Jun 2020 13:05:35 +0000 (15:05 +0200)
commit19f8f173202d6f5cbf97ca2a9f66fcea6b9bb44f
tree9f2a4e4ebece6ac29168d001ac92d2c2f3f1943f
parentfae5448134dfec004be818d18ff1583cc61e5549
RPKI: Fix unnecessary reconnection on reconfiguration

Compare the new timing parameters with the old configuration, not with
the temporary state of the current connection.

The timing values in struct rpki_cache is updated by a version 1 End Of
Data PDU, unless this behavior is suppressed by the configuration
explicitly by the "keep" keyword. Consequently, every reconfiguration
of BIRD triggers a reconnection even if it is not necessary.
proto/rpki/rpki.c