-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[8.0] bgp per-peer dampening revert #9320
[8.0] bgp per-peer dampening revert #9320
Conversation
This reverts commit 4538f89. Signed-off-by: Igor Ryzhov <[email protected]>
This reverts commit 97766ac.
This reverts commit 5054cfc.
This reverts commit cd58568.
This reverts commit 19971c9.
This reverts commit 96d6b8c.
…oop" This reverts commit 53048d3.
…culation for the prefix" This reverts commit c8ddbd4.
This reverts commit cd32a1a. Signed-off-by: Igor Ryzhov <[email protected]>
This reverts commit 54b3470. Signed-off-by: Igor Ryzhov <[email protected]>
…that code" This reverts commit 39d8dd2. Signed-off-by: Igor Ryzhov <[email protected]>
This reverts commit 783492c. Signed-off-by: Igor Ryzhov <[email protected]>
This reverts commit 0221327. Signed-off-by: Igor Ryzhov <[email protected]>
This reverts commit 40ec334. Signed-off-by: Igor Ryzhov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution to FRR!
Click for style suggestions
To apply these suggestions:
curl -s https://gist.githubusercontent.com/polychaeta/844b0b8e09ae6b1291a79319e8d80c09/raw/6ce8d6c76ec2cbf2557ac8bb83a5508f19f706b7/cr_9320_1628279279.diff | git apply
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 3490a4fa40..4df4b29c8f 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -3385,8 +3385,7 @@ static void bgp_rib_withdraw(struct bgp_dest *dest, struct bgp_path_info *pi,
&& peer->sort == BGP_PEER_EBGP)
if ((bgp_damp_withdraw(pi, dest, afi, safi, 0))
== BGP_DAMP_SUPPRESSED) {
- bgp_aggregate_decrement(peer->bgp, p, pi, afi,
- safi);
+ bgp_aggregate_decrement(peer->bgp, p, pi, afi, safi);
return;
}
@@ -14360,8 +14359,8 @@ static int bgp_clear_damp_route(struct vty *vty, const char *view_name,
if (pi->extra && pi->extra->damp_info) {
pi_temp = pi->next;
bgp_damp_info_free(
- pi->extra->damp_info,
- 1, afi, safi);
+ pi->extra->damp_info, 1,
+ afi, safi);
pi = pi_temp;
} else
pi = pi->next;
@@ -14382,8 +14381,8 @@ static int bgp_clear_damp_route(struct vty *vty, const char *view_name,
if (pi->extra && pi->extra->damp_info) {
pi_temp = pi->next;
bgp_damp_info_free(
- pi->extra->damp_info,
- 1, afi, safi);
+ pi->extra->damp_info, 1,
+ afi, safi);
pi = pi_temp;
} else
pi = pi->next;
If you are a new contributor to FRR, please see our contributing guidelines.
After making changes, you do not need to create a new PR. You should perform an amend or interactive rebase followed by a force push.
💚 Basic BGPD CI results: SUCCESS, 0 tests failedResults table
For details, please contact louberger |
Continuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-20852/ This is a comment from an automated CI system. Warnings Generated during build:Checkout code: Successful with additional warnings
|
Manual backport of #9256. Automatic doesn't work because of cherry-picking conflicts.