| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Lou Berger <lberger@labn.net>
|
|
|
|
| |
Signed-off-by: Lou Berger <lberger@labn.net>
|
|
|
|
| |
Signed-off-by: Lou Berger <lberger@labn.net>
|
|
|
|
| |
Signed-off-by: Lou Berger <lberger@labn.net>
|
|
|
|
|
|
| |
by setting CONFDATE to 0
Signed-off-by: Lou Berger <lberger@labn.net>
|
|\
| |
| | |
doc: Add document for Release Build by maintainer
|
| |
| |
| |
| | |
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
|
|\ \
| | |
| | | |
doc: add dev docs on code review practices
|
| | |
| | |
| | |
| | | |
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|\ \ \
| | | |
| | | | |
bgpd: Cleanup of bgp daemon code
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit removes various parts of the bgpd implementation code which
are unused/useless, e.g. unused functions, unused variable
initializations, unused structs, ...
Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
|
|\ \ \ \
| |_|/ /
|/| | | |
pimd: Remove unnecessary alloc failures
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Remove from pim unnecessary alloc failure testing
as that alloc failure will cause an assert.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|\ \ \
| | | |
| | | | |
ospfd: Remove deprecated code
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
This code has been deprecated for over a year, let's remove it now.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|\ \ \
| |/ /
|/| | |
bgpd: Fix bgp auto-shutdown behavior
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The current behavior of the `bgp default shutdown` command is to set the
state of all newly configured peers to shutdown. This leads to a problem
when restarting bgpd, because all peers will then be seen as newly
configured, which leads to all peers being set to shutdown after each
restart.
This behavior is undesired and not common when comparing the
implementation against other vendors. This commit moves the `bgp default
shutdown` configuration underneath the peer-group and peer
configuration, to ensure that existing peers will not be set to shutdown
after a daemon restart.
Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
|
|\ \
| | |
| | | |
revert hash_walk/iterate optimizations
|
| | |
| | |
| | |
| | | |
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add some documentation to hash_walk/iterate to tell people
to not do something stupid.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
| | |
| | |
| | |
| | | |
This reverts commit fc61644e440c875eefa222ab34d726c6281ca806.
|
|\ \ \
| | | |
| | | | |
lib: add the pathname to get the realpath in case of failure
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Sometimes, the file under /var/run/netns may not be authorised to be
read ( because it is not read permission for frr user, for instance).
so it is good to know what happened.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
|\ \ \ \
| | | | |
| | | | | |
pimd: standard library usage (PVS-Studio)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
fread() function was not used properly.
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
ospfd pimd: null check (PVS-Studio)
|
|/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|\ \ \ \
| | | | |
| | | | | |
bgpd zebra: element overflow (PVS-Studio)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The warning given by PVS-Studio is related to per-element overflow (there is
no real overflow, because of how elements are mapped in the union). This
same warning is typically reported by Coverity, too.
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
ldpd: buffer underflow, thread safety (PVS-Studio)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit fixes two issues:
- memcpy() using containers of different sizes when using addr2sa(), mixing
'struct sockaddr_storage' and 'union sockunion'.
- addr2sa() function not being thread safe (using a local static variable as
container.
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
doc: add MPLS configuration commands
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add MPLS information to statically handle label from zebra.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
pimd: Use generated interface name
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When we have a generated interface name, use it instead of the actual
pointer.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
bgpd: fix rpki validation for ipv6 (master)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Marcel Röthke <marcel.roethke@haw-hamburg.de>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
bgpd lib ospfd pimd ripngd: null chk (PVS-Studio)
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | | |
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
zebra: remove asserts on task nullity
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
While ZAPI I/O threads make a best effort to kill any scheduled tasks on
their threadmasters, after death another pthread can continue to
schedule onto the threadmaster. This isn't a problem per se since the
tasks will never run, but it also means that asserting that it hasn't
happened is pointless.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
doc: bgp wrong command displayed
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This command does not exist. Move it to the right one.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
bgpd: l3vni del to free ip prefix routes from vrf
|
| | |_|_|/ / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
In Symmetric routing case, L3VNI stores evpn MAC_IP routes
as IP_PREFIX routes in associated bgp_vrf and fib.
When vxlan device for l3vni goes down, triggers l3vni delete
in bgp.
As part l3vni delete, evpn ip prefix routes associated
with the vni need to be withdrawn from zebra as well
bgpinfo needs to be freed.
bgp_delete does not free bgp_info associated
to evpn ip prefix routes (link to bgp_vrf).
Call to uninstall_evpn_route_entry_in_vrf() properly
cleanup bgp_info as well triggers appropriate updates.
Ticket:CM-21443
Testing Done:
On DUT, bringup symmetric routing configuration, learn
EVPN Type-2 and Type-3 Routes.
Type-2 MAC_IP routes will be stored as ip_prefix in vrf table
during l3vni bring up.
Remove L3vni, deletes all ip_prefix routes from the zebra, kernel
vrf route table and bgp_info is freed.
Check the show bgp memory stats for bgp_info post l3vni flap.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* Fix broken citations
* Remove trailing whitespace
* Rewrap to 80 lines
* Tweak capitalization of section headers
* Clean up a few indented blocks
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
zebra: duplicate nexthops for cross-vrf static routes on vrf bounce
|
| | |_|_|/ / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Problem created by the fix for cm-21306 (inactive cross-vrf static routes
when vrfs were bounced.) Determined that in another case, that fix would
cause duplicate nexthops to appear in the table. Resolved the problem by
removing the vrf static route process from the zebra "add" process leaving
it in the zebra " if up" process as added in cm-21306 since that's the point
that the vrf device is now functional.
Ticket: CM-21429
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
ospfd zebra: array overrun fixes (PVS-Studio)
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: F. Aragon <paco@voltanet.io>
|