mirror_frr/bgpd
Renato Westphal a74e593b35 *: fix segfault when sending more than MULTIPATH_NUM nexthops
This is a fallout from PR #1022 (zapi consolidation). In the early days,
the client daemons would allocate enough memory to send all nexthops
to zebra.  Then zebra would add all nexthops to the RIB and respect
MULTIPATH_NUM only when installing the routes in the kernel. Now things
are different and the client daemons can send at most MULTIPATH_NUM
nexthops to zebra, and failure to respect that will result in a buffer
overflow. The MULTIPATH_NUM limit in the new zebra API is a small price
we pay to avoid allocating memory for each route sent to zebra.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2017-09-21 11:21:09 -03:00
..
rfapi *: fix segfault when sending more than MULTIPATH_NUM nexthops 2017-09-21 11:21:09 -03:00
rfp-example *: reindent 2017-07-17 14:04:07 +02:00
.gitignore lib, bgpd: fix .gitignore 2017-06-29 19:39:36 +00:00
BGP4-MIB.txt Initial revision 2002-12-13 20:15:29 +00:00
bgp_advertise.c *: use clang's 'ForEachMacros' format style option 2017-09-15 14:53:46 -03:00
bgp_advertise.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_aspath.c bgpd: Fix AS_PATH size calculation for long paths 2017-09-08 07:54:03 -04:00
bgp_aspath.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_attr_evpn.c *: fix be32 reading / 24-bit left shift 2017-09-09 19:50:58 +02:00
bgp_attr_evpn.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_attr.c bgpd: add comment on bgp_attr_intern 2017-09-07 15:29:32 +02:00
bgp_attr.h bgpd: rip out bgp_attr_deep_dup(), fix table-map 2017-09-07 15:19:06 +02:00
bgp_bfd.c Revert "*: reindent pt. 2" 2017-07-22 14:52:33 +02:00
bgp_bfd.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_btoa.c Revert "*: reindent pt. 2" 2017-07-22 14:52:33 +02:00
bgp_clist.c *: fix be32 reading / 24-bit left shift 2017-09-09 19:50:58 +02:00
bgp_clist.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_community.c bgpd: Add various hash optimizations 2017-09-05 14:33:06 -04:00
bgp_community.h bgpd: implement draft-ietf-grow-bgp-gshut-10 2017-08-25 18:27:49 +00:00
bgp_damp.c *: Define the number of seconds in a Day, Week and year 2017-08-08 09:06:22 -04:00
bgp_damp.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_debug.c *: Add 'show debugging' command from vtysh 2017-08-21 07:23:59 -04:00
bgp_debug.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_dump.c Revert "*: reindent pt. 2" 2017-07-22 14:52:33 +02:00
bgp_dump.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_ecommunity.c bgpd: deduplicate struct definition 2017-09-13 11:47:35 -04:00
bgp_ecommunity.h bgpd: deduplicate struct definition 2017-09-13 11:47:35 -04:00
bgp_encap_tlv.c *: fix be32 reading / 24-bit left shift 2017-09-09 19:50:58 +02:00
bgp_encap_tlv.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_encap_types.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_evpn_private.h *: fix style 2017-08-30 11:27:11 -04:00
bgp_evpn_vty.c bgpd: Intialize all the variables used in argv_find. 2017-09-20 14:56:23 -07:00
bgp_evpn_vty.h bgpd: get rid of afi_header_vty_out() & co. 2017-08-29 08:36:03 +02:00
bgp_evpn.c bgpd: fix uninitialized value in show cmd 2017-09-15 12:24:51 -04:00
bgp_evpn.h zebra: Fix MAC change handling for a neighbor 2017-08-17 03:54:38 -07:00
bgp_filter.c *: reindent 2017-07-17 14:04:07 +02:00
bgp_filter.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_fsm.c lib: remove SAFI_RESERVED_4 and SAFI_RESERVED_5 2017-07-31 23:38:38 -03:00
bgp_fsm.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_label.c Revert "*: reindent pt. 2" 2017-07-22 14:52:33 +02:00
bgp_label.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_lcommunity.c *: fix be32 reading / 24-bit left shift 2017-09-09 19:50:58 +02:00
bgp_lcommunity.h bgpd: Fixed some comments in bgp_lcommunity.h 2017-09-03 06:35:53 +00:00
bgp_main.c lib: centralized memstats-at-exit 2017-08-24 00:18:50 +02:00
bgp_memory.c bgpd: Ignore EVPN routes from CLAG peer when VNI comes up 2017-08-16 23:19:58 -07:00
bgp_memory.h bgpd: Ignore EVPN routes from CLAG peer when VNI comes up 2017-08-16 23:19:58 -07:00
bgp_mpath.c bgpd: Fix nexthop comparison for v6 2017-07-26 14:18:30 -04:00
bgp_mpath.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_mplsvpn.c bgpd/ospfd: fix json leaks and blank output 2017-07-26 12:28:56 -03:00
bgp_mplsvpn.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_network.c Revert "*: reindent pt. 2" 2017-07-22 14:52:33 +02:00
bgp_network.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_nexthop.c bgpd: fix show ip bgp vrf <vrf> nexthop 2017-09-12 14:16:44 +00:00
bgp_nexthop.h bgpd: Ignore EVPN routes from CLAG peer when VNI comes up 2017-08-16 23:19:58 -07:00
bgp_nht.c *: use clang's 'ForEachMacros' format style option 2017-09-15 14:53:46 -03:00
bgp_nht.h bgpd: Cleanup NHT state when underlying VRF goes down 2017-08-17 02:54:14 -07:00
bgp_open.c lib: new APIs for get/set system hostname/domainname 2017-08-28 17:16:52 -07:00
bgp_open.h bgpd: don't make any assumptions about the size of an enum 2017-07-31 23:45:03 -03:00
bgp_packet.c lib/bgpd: introduce the iana_safi_t enum 2017-07-31 23:44:42 -03:00
bgp_packet.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_rd.c *: fix be32 reading / 24-bit left shift 2017-09-09 19:50:58 +02:00
bgp_rd.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_regex.c *: reindent 2017-07-17 14:04:07 +02:00
bgp_regex.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_route.c bgpd: Add large community json support 2017-09-19 13:57:35 -04:00
bgp_route.h Merge pull request #1047 from dwalton76/bgpd-draft-ietf-grow-bgp-gshut-10 2017-09-05 10:20:49 -03:00
bgp_routemap.c Merge pull request #1047 from dwalton76/bgpd-draft-ietf-grow-bgp-gshut-10 2017-09-05 10:20:49 -03:00
bgp_snmp.c Revert "*: reindent pt. 2" 2017-07-22 14:52:33 +02:00
bgp_table.c *: reindent 2017-07-17 14:04:07 +02:00
bgp_table.h bgpd: bgp process queue optimization 2017-08-17 17:58:35 +02:00
bgp_updgrp_adv.c *: use clang's 'ForEachMacros' format style option 2017-09-15 14:53:46 -03:00
bgp_updgrp_packet.c *: use clang's 'ForEachMacros' format style option 2017-09-15 14:53:46 -03:00
bgp_updgrp.c *: use clang's 'ForEachMacros' format style option 2017-09-15 14:53:46 -03:00
bgp_updgrp.h Revert "*: reindent pt. 2" 2017-07-22 14:52:33 +02:00
bgp_vnc_types.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_vpn.c bgpd/ospfd: fix json leaks and blank output 2017-07-26 12:28:56 -03:00
bgp_vpn.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_vty.c bgpd: Add various hash optimizations 2017-09-05 14:33:06 -04:00
bgp_vty.h bgpd: get rid of afi_header_vty_out() & co. 2017-08-29 08:36:03 +02:00
bgp_zebra.c *: fix segfault when sending more than MULTIPATH_NUM nexthops 2017-09-21 11:21:09 -03:00
bgp_zebra.h bgpd: get rid of afi_header_vty_out() & co. 2017-08-29 08:36:03 +02:00
bgpd.c *: use clang's 'ForEachMacros' format style option 2017-09-15 14:53:46 -03:00
bgpd.conf.sample bgpd: hide "router bgp" commands also under "address-family ipv4 unicast" 2017-05-04 17:06:13 +00:00
bgpd.conf.sample2 Initial revision 2002-12-13 20:15:29 +00:00
bgpd.conf.vnc.sample bgpd: hide "router bgp" commands also under "address-family ipv4 unicast" 2017-05-04 17:06:13 +00:00
bgpd.h Merge pull request #1047 from dwalton76/bgpd-draft-ietf-grow-bgp-gshut-10 2017-09-05 10:20:49 -03:00
IMPLEMENTATION.txt Adjust size complexity estimates. Still not quite right, but closer. 2005-02-15 17:10:03 +00:00
Makefile.am bgpd: EVPN definitions 2017-07-12 12:34:34 -04:00