-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use 7.2 tree to generate frr packages * Adapt patches for frr/7.2 * Use vrf_id
- Loading branch information
1 parent
a117b25
commit aa1a136
Showing
10 changed files
with
59 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule frr
updated
from 8c5e03 to 514f50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
src/sonic-frr/patch/0002-Reduce-severity-of-Vty-connected-from-message.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
src/sonic-frr/patch/0003-Use-vrf_id-for-vrf-not-tabled_id.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
From 9e7f1de3b79ca6ada8a3124f4cdc35530284832e Mon Sep 17 00:00:00 2001 | ||
From: Pavel Shirshov <pavelsh@microsoft.com> | ||
Date: Tue, 5 Nov 2019 06:16:51 -0800 | ||
Subject: [PATCH 1/1] Use vrf_id for vrf, not tabled_id | ||
|
||
--- | ||
zebra/zebra_fpm_netlink.c | 5 +---- | ||
1 file changed, 1 insertion(+), 4 deletions(-) | ||
|
||
diff --git a/zebra/zebra_fpm_netlink.c b/zebra/zebra_fpm_netlink.c | ||
index f347d3955..74aab8228 100644 | ||
--- a/zebra/zebra_fpm_netlink.c | ||
+++ b/zebra/zebra_fpm_netlink.c | ||
@@ -284,7 +284,6 @@ static int netlink_route_info_fill(netlink_route_info_t *ri, int cmd, | ||
rib_dest_t *dest, struct route_entry *re) | ||
{ | ||
struct nexthop *nexthop; | ||
- struct zebra_vrf *zvrf; | ||
|
||
memset(ri, 0, sizeof(*ri)); | ||
|
||
@@ -292,9 +291,7 @@ static int netlink_route_info_fill(netlink_route_info_t *ri, int cmd, | ||
ri->af = rib_dest_af(dest); | ||
|
||
ri->nlmsg_type = cmd; | ||
- zvrf = rib_dest_vrf(dest); | ||
- if (zvrf) | ||
- ri->rtm_table = zvrf->table_id; | ||
+ ri->rtm_table = zvrf_id(rib_dest_vrf(dest)); | ||
ri->rtm_protocol = RTPROT_UNSPEC; | ||
|
||
/* | ||
-- | ||
2.17.1.windows.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
107 changes: 0 additions & 107 deletions
107
src/sonic-frr/patch/0007-prevent-dead-fd-poll-data-port-fix-from-frr.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.