summaryrefslogtreecommitdiff
path: root/lib/systemd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-03-11 12:05:44 -0500
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-03-12 19:49:38 +0000
commit84b56b4b142f9f5ddaeb49918c7911a516663ff5 (patch)
tree54b60d8732b55cbada43335fd5f6af7660274eae /lib/systemd.c
parent2cf050ffc0a2cdf9792f9982375dc26974473716 (diff)
bgpd: Increment version number even when no data is sent
When an update group decides to not send a prefix announcement because it has not changed, still increment the version number. Why? To allow for the situation where you have say 2 peers in 1 peer group and shortly after they come up a 3rd peer comes up. It will be placed into a separate update group and could be coalesced down, when it finishes updating all data to it. Now imagine that a single prefix changes at this point in time as well. Then first 2 peers may decide to not send the data, since nothing has changed. While the 3rd peer will and since the versions numbers never match they will never coalesce. So when the decision is made to skip, update the version number as well. Signed-off-by: Donald Sharp <sharpd@nvidia.com> (cherry picked from commit a8038460bd2b413a0c082fbd629cdae00708b133)
Diffstat (limited to 'lib/systemd.c')
0 files changed, 0 insertions, 0 deletions