summaryrefslogtreecommitdiff
path: root/lib/filter_nb.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-03-11 12:05:44 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-03-11 12:09:23 -0500
commita8038460bd2b413a0c082fbd629cdae00708b133 (patch)
treec0bdac3554626e3bd70857241c9761f71f33c5d9 /lib/filter_nb.c
parent660d14e18bb8d461ecdf43a1f307b8381ede818e (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>
Diffstat (limited to 'lib/filter_nb.c')
0 files changed, 0 insertions, 0 deletions