| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
bgpd: Fix typo in debug message
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cosmetic change for the debug messages, mainly on the parentheses.
Before:
```
[ZJYCS-KQYD6] VRF vrf-debug(140): Rcvd NH update 50.50.50.0/24(0)0) - metric 300/300 #nhops 2/1 flags Valid Reg Static Static Exact
[VZJVD-D7GXM] parse nexthop update(50.50.50.0/24(0)(VRF vrf-debug)): bnc info not found for nexthop cache
[NSWTE-81HEK] parse nexthop update(50.50.201.0/31(0)(VRF vrf-debug)): bnc info not found for import check
```
After:
```
[ZJYCS-KQYD6] VRF vrf-debug(140): Rcvd NH update 50.50.50.0/24(0)(0) - metric 300/300 #nhops 2/1 flags Valid Reg Static Static Exact
[VZJVD-D7GXM] parse nexthop update 50.50.50.0/24(0)(VRF vrf-debug): bnc info not found for nexthop cache
[NSWTE-81HEK] parse nexthop update 50.50.201.0/31(0)(VRF vrf-debug): bnc info not found for import check
```
Signed-off-by: anlan_cs <vic.lan@pica8.com>
|
|\ \
| | |
| | | |
lib: fix vtysh core when handling questionmark
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When issue vtysh command with ?, the initial buf size for the
element is 16. Then it would loop through each element in the cmd
output vector. If the required size for printing out the next
element is larger than the current buf size, realloc the buf memory
by doubling the current buf size regardless of the actual size
that's needed. This would cause vtysh core when the doubled size
is not enough for the next element.
Signed-off-by: Yuan Yuan <yyuanam@amazon.com>
|
|\ \ \
| | | |
| | | | |
ospf6d: Prevent redundant LSA generation before interface goes down
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Commit 76249532faad ("ospf6d: Handle Premature Aging of LSAs") added a
duplicate call to OSPF6_INTRA_PREFIX_LSA_EXECUTE_TRANSIT(), when the
interface state changes to "Down".
Fixes: #1738
Signed-off-by: David Ward <david.ward@ll.mit.edu>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
opensourcerouting/fix/drop_old_releases_from_the_table
doc: Update reference table for current and upcoming release dates
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Keep only 3 release dates, current and two upcoming. On the next release,
just update one, instead of multiple (zero point looking too much in the
future).
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|\ \ \ \
| |/ / /
|/| | | |
pim6d: Fix crash in ipv6 pim command
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem:
Execute the below commands, pim6d core happens.
interface ens193
ip address 69.0.0.2/24
ipv6 address 8000::1/120
ipv6 mld
ipv6 pim
We see crash only if the interface is not configured, and
we are executing PIM/MLD commands.
RootCause:
Interface ens193 is not configured. So, it will have
ifindex = 0 and mroute_vif_index = -1.
Currently, we don't enable MLD on an interface if
mroute_vif_index < 0. So, pim_ifp->MLD = NULL.
In the API pim_if_membership_refresh(), we are accessing
pim_ifp->MLD NULL pointer which leads to crash.
Fix:
Added NULL check before accessing pim_ifp->MLD pointer in
the API pim_if_membership_refresh().
Issue: #13385
Signed-off-by: Sarita Patra <saritap@vmware.com>
|
|\ \ \
| | | |
| | | | |
mgmtd: fix possible race btw read config and backend connection
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
|\ \ \ \
| | | | |
| | | | | |
ospfd, ospf6d: fix time_t truncation
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Change timestamp parameter from int to time_t to avoid truncation.
Found by Coverity Scan (CID 1563226 and 1563222)
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
|
|\ \ \ \
| | | | |
| | | | | |
bgpd: fix bgpd core when unintern attr
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When the remote peer is neither EBGP nor confed, aspath is the
shadow copy of attr->aspath in bgp_packet_attribute(). Striping
AS4_PATH should not be done on the aspath directly, since
that would lead to bgpd core dump when unintern the attr.
Signed-off-by: Yuan Yuan <yyuanam@amazon.com>
|
|\ \ \ \
| |/ / /
|/| | | |
tests: Actually loop if ping fails
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
The usage of run_and_expect doesn't work if the function
being called as the run part asserts.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|\ \ \
| | | |
| | | | |
various issues
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On removal, ensure that the ifp->node is set to a null
pointer so that FRR does not use data after freed.
In addition ensure that the ifp->node exists before
attempting to free it.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When entering some show commands that use json in pimd
when the interface cannot be found do not output non-json
format in that case.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
the bgp_default_originate test brings up the topology and
then immediately pings. Which sometimes fails. This is
of course possible since the first ping might actually fail
due to arp going on. So let's give it a second chance or two.
Especially since the test, at this point, is just installing
a default route.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|\ \ \
| | | |
| | | | |
build: fix missing YANG model embedding
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The frr-ripd model has a dependency on frr-bfdd, so include it in build.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Listing `.c` files in `$(…_OBJECTS):` does not have the desired effect.
(Also CLEANFILES is not needed, yang/subdir.am already has yang/*.c in
CLEANFILES anyway.)
Fixes: #13600
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|
|\ \ \ \
| |_|_|/
|/| | | |
ldpd: changes for code maintainability
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
these changes are for improving the code maintainability and readability
Signed-off-by: sri-mohan1 <sri.mohan@samsung.com>
|
|\ \ \ \
| |_|_|/
|/| | | |
rework messaging, resource handling in mgmtd with bug fix and code hardening
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- simple unified test
- unified test with late backend startup test
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- convert impossible situation into assert
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- always use IDs not a mix of IDs and pointers.
- always use PRIu64 not a mix of hex and decimal for IDs
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
since we don't actually handle xpath subscriptions, reply with fail
if they are requested.
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Use a socketpair for connection, and direct (no event loop)
message sending and handling.
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Previously was substituting a pointer to local allocated session for the
session_id returned from the FE adapter. This complexity isn't needed.
- Get rid of "%llu" format and the casts that came with it, instead use PRIu64
and the actual (uint64_t) type.
Signed-off-by: Christian Hopps <chopps@labn.net>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christian Hopps <chopps@labn.net>
|