mirror_frr/bgpd
Louis Scalbert cec0da3d9b bgpd: fix process_queue when un-hiding
bgp_process_queue_init() is not called in bgp_create() when leaving the
BGP instance hidden state because of the following goto:

>	if (hidden) {
>		bgp = bgp_old;
>		goto peer_init;
>	}

Upon reconfiguration of the default instance, the prefixes are never set
into a meta queue by mq_add_handler(). They are never processed for
zebra RIB installation and announcements of update/withdraw.

Do not delete the BGP process_queue when hiding.

Fixes: 4d0e7a49cf ("bgpd: VRF-Lite fix default bgp delete")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
(cherry picked from commit 71a3756f2d)
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2025-02-27 09:43:55 +01:00
..
rfapi Merge pull request #17810 from donaldsharp/bgp_connect_refactor 2025-01-15 11:11:41 -05:00
rfp-example *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
.gitignore
bgp_addpath_types.h bgpd: Implement neighbor X addpath-tx-best-selected command 2023-06-07 22:27:29 +03:00
bgp_addpath.c Revert "bgpd: Handle Addpath capability using dynamic capabilities" 2025-01-25 20:51:16 +02:00
bgp_addpath.h Revert "bgpd: Handle Addpath capability using dynamic capabilities" 2025-01-25 20:51:16 +02:00
bgp_advertise.c bgpd: fix labels in adj-rib-in 2024-06-05 13:11:29 +02:00
bgp_advertise.h bgpd: fix label in adj-rib-out 2024-06-05 13:11:29 +02:00
bgp_aspath.c bgpd: Store aspath count after aspath has changed 2024-10-24 21:01:26 -04:00
bgp_aspath.h bgpd: Store aspath count after aspath has changed 2024-10-24 21:01:26 -04:00
bgp_attr_evpn.c bgpd: changes for code maintainability 2024-09-18 11:24:19 +05:30
bgp_attr_evpn.h bgpd: Move evpn_overlay to a pointer 2024-08-11 13:59:13 +03:00
bgp_attr.c bgpd: Show prefix-related stats per neighbor 2024-12-30 12:26:19 +02:00
bgp_attr.h bgpd: remove unused BATTR_REFLECTED for rmap_change_flags 2025-01-14 08:46:54 -08:00
bgp_bfd.c bgpd: fix bfd with update-source in peer-group 2025-01-22 17:55:55 +01:00
bgp_bfd.h *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
bgp_bmp.c bgpd: fix do not send twice peer up/down messages 2025-01-21 16:01:10 +01:00
bgp_bmp.h bgpd: add sync for monitored afi/safi of imported bgps 2025-01-07 15:35:32 +01:00
bgp_btoa.c bgpd: changes for code maintainability 2024-09-18 11:24:19 +05:30
bgp_clist.c bgpd: bgp_clist.c does not need jhash.h 2024-12-02 10:33:57 -05:00
bgp_clist.h bgpd: Treat numbered community-list only if it's in a range 1-500 2024-10-30 10:45:28 +02:00
bgp_community_alias.c bgpd: Optimize the way parsing communities if no community alias exists 2024-11-18 23:29:53 +02:00
bgp_community_alias.h bgpd: Optimize the way parsing communities if no community alias exists 2024-11-18 23:29:53 +02:00
bgp_community.c bgpd: changes for code maintainability 2024-09-10 10:37:04 +05:30
bgp_community.h bgpd: Remove deprecated COMMUNITY_INTERNET community 2023-08-03 17:12:19 +03:00
bgp_conditional_adv.c bgpd: Add back pointer to source (from) peer in bgp_path_info struct 2024-09-27 22:53:46 +03:00
bgp_conditional_adv.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_damp.c bgpd: VRF-Lite fix default bgp delete 2024-09-18 18:03:10 +03:00
bgp_damp.h bgpd: Pass the right reuse_list when handling it via bgp_reuse_timer thread 2024-05-03 09:30:33 +03:00
bgp_debug.c bgpd: add debugging command for route aggregation 2025-01-07 22:52:41 -08:00
bgp_debug.h bgpd: add debugging command for route aggregation 2025-01-07 22:52:41 -08:00
bgp_dump.c bgpd: su_remote and su_local are properties of the connection 2025-01-10 10:07:11 -05:00
bgp_dump.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_ecommunity.c bgpd: Use tmp_as when parsing color extended community 2024-11-15 08:16:10 +02:00
bgp_ecommunity.h bgpd:support of color extended community color-only types 2024-11-07 19:02:11 +08:00
bgp_encap_tlv.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_encap_tlv.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_encap_types.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_errors.c Revert "bgpd: store bgp link-state prefixes" 2023-10-10 16:45:00 -04:00
bgp_errors.h Revert "bgpd: store bgp link-state prefixes" 2023-10-10 16:45:00 -04:00
bgp_evpn_mh.c bgpd: fix bgp label evpn CID 1636504 2025-02-12 21:54:38 +02:00
bgp_evpn_mh.h bgpd: fix evpn mh esi flap remove local routes 2024-10-14 10:09:57 -07:00
bgp_evpn_private.h bgpd: backpressure - Optimize EVPN L2VNI remote routes processing 2024-12-09 08:46:16 -08:00
bgp_evpn_vty.c bgpd: fix vty output of evpn route-target AS4 2025-02-15 20:11:56 +00:00
bgp_evpn_vty.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_evpn.c Merge pull request #17526 from raja-rajasekar/rajasekarr/evpn_bp_and_optimizations_3864372_FINAL_upstream 2024-12-17 11:15:27 -05:00
bgp_evpn.h bgpd: backpressure - Optimize EVPN L3VNI remote routes processing 2024-12-09 08:46:16 -08:00
bgp_filter.c bgpd: fix "bgp as-pah access-list" with "set aspath exclude" set/unset issues 2024-05-16 17:49:42 +02:00
bgp_filter.h bgpd: fix "bgp as-pah access-list" with "set aspath exclude" set/unset issues 2024-05-16 17:49:42 +02:00
bgp_flowspec_private.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_flowspec_util.c bgpd: changes for code maintainability 2024-09-26 14:53:54 +05:30
bgp_flowspec_util.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_flowspec_vty.c bgpd: fix use single whitespace when displaying flowspec entries 2024-11-26 14:22:13 +01:00
bgp_flowspec.c bgpd: Move evpn_overlay to a pointer 2024-08-11 13:59:13 +03:00
bgp_flowspec.h bgpd: Treat withdraw variable as a bool 2023-04-06 17:41:32 -04:00
bgp_fsm.c bgpd: Ensure ibuf count is protected by mutex 2025-02-06 16:16:48 +00:00
bgp_fsm.h bgpd: Fix wrong pthread event cancelling 2024-10-24 21:01:26 -04:00
bgp_io.c bgpd: fix warning of compilation when using bgp_trace 2024-12-30 15:13:37 +01:00
bgp_io.h bgpd: Convert bgp_io.c to take struct peer_connection 2023-08-18 09:29:04 -04:00
bgp_keepalives.c bgpd: make bgp_keepalives_on|off connection oriented 2023-09-10 08:31:25 -04:00
bgp_keepalives.h bgpd: make bgp_keepalives_on|off connection oriented 2023-09-10 08:31:25 -04:00
bgp_label.c bgpd: Fix crash in bgp_labelpool 2025-02-13 17:45:10 +00:00
bgp_label.h bgpd: move labels from extra to extra->labels 2024-06-05 13:11:29 +02:00
bgp_labelpool.c bgpd: Fix crash in bgp_labelpool 2025-02-13 17:45:10 +00:00
bgp_labelpool.h bgpd: Fix crash in bgp_labelpool 2025-02-13 17:45:10 +00:00
bgp_lcommunity.c bgpd: Fix lcom->str string length to correctly cover aliases 2023-04-20 16:51:56 -04:00
bgp_lcommunity.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_mac.c bgpd: fix labels static-analyser 2024-08-26 10:29:12 +02:00
bgp_mac.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_main.c bgpd: Do not ignore auto generated VRF instances when deleting 2025-01-28 17:11:58 +02:00
bgp_memory.c bgpd: Move evpn_overlay to a pointer 2024-08-11 13:59:13 +03:00
bgp_memory.h bgpd: Move evpn_overlay to a pointer 2024-08-11 13:59:13 +03:00
bgp_mpath.c bgpd: Print debug message about reaching maximum allowed multi paths 2024-10-03 09:20:40 +03:00
bgp_mpath.h bgpd: Remove unused bgp_mp_dmed_deselect function 2024-10-02 10:55:32 -04:00
bgp_mplsvpn_snmp.c bgpd, doc: add bgp snmp traps rfc4382 command 2024-08-11 19:28:50 +00:00
bgp_mplsvpn_snmp.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_mplsvpn.c bgpd: Fix crash in bgp_labelpool 2025-02-13 17:45:10 +00:00
bgp_mplsvpn.h bgpd: Respect allowas-in value from the source VRF's peer 2025-01-08 19:16:04 +02:00
bgp_network.c bgpd: Do not start BGP session if BGP identifier is not set 2025-02-04 16:37:55 +00:00
bgp_network.h bgpd: Only update peer connection information when needed 2025-01-10 10:07:11 -05:00
bgp_nexthop.c Merge pull request #17771 from opensourcerouting/fix/show_ifindex_bgp 2025-01-07 09:03:33 -05:00
bgp_nexthop.h bgpd: Use unique value for BGP_NEXTHOP_EVPN_INCOMPLETE flag 2025-01-06 14:57:14 +02:00
bgp_nhg.c bgpd: move l3nhg functions in separate bgp_nhg.[ch] file 2023-12-11 21:03:33 +01:00
bgp_nhg.h bgpd: move l3nhg functions in separate bgp_nhg.[ch] file 2023-12-11 21:03:33 +01:00
bgp_nht.c bgpd: Optimize evaluate paths for a peer going down 2025-01-24 15:11:46 -05:00
bgp_nht.h bgpd: fix do re-send post-policy bgp update when not valid 2024-12-30 15:13:37 +01:00
bgp_open.c bgpd: Print errors as error not as information when parsing OPEN message 2024-09-01 22:42:54 +03:00
bgp_open.h bgpd: Add sanity check for capability lengths before processing them 2024-05-24 10:35:42 +03:00
bgp_packet.c bgpd: When removing the prefix list drop the pointer 2025-02-14 21:29:01 +00:00
bgp_packet.h bgpd: Handle ENHE capability via dynamic capability 2025-01-14 22:46:53 +02:00
bgp_pbr.c bgpd: don't reuse nexthop variable in loop/switch 2025-02-11 08:43:28 +00:00
bgp_pbr.h *: Let's use the native IFNAMSIZ instead of INTERFACE_NAMSIZ 2023-11-21 08:08:29 -05:00
bgp_rd.c Merge pull request #12248 from pguibert6WIND/bgpasdot 2023-02-21 08:01:03 -05:00
bgp_rd.h bgpd: Optimize memory for rd_ip struct 2024-01-31 11:29:30 +02:00
bgp_regex.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_regex.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_route.c bgpd: remove dmed check not required in bestpath selection 2025-02-21 23:12:20 +00:00
bgp_route.h bgpd: fix evpn path info get api 2025-01-21 15:17:20 -08:00
bgp_routemap_nb_config.c bgpd: add 'match community-count' command to restrict comm count 2025-01-14 13:59:42 +01:00
bgp_routemap_nb.c bgpd: add 'match community-count' command to restrict comm count 2025-01-14 13:59:42 +01:00
bgp_routemap_nb.h bgpd: add 'match community-count' command to restrict comm count 2025-01-14 13:59:42 +01:00
bgp_routemap.c Merge pull request #17836 from pguibert6WIND/limit_comm_list_count 2025-01-17 12:44:24 +02:00
bgp_rpki.c bgpd: Validate only affected RPKI prefixes instead of a full RIB 2024-12-06 23:31:33 +02:00
bgp_rpki.h bgpd: create cache server socket in vrf 2024-01-18 13:22:19 +01:00
bgp_script.c bgpd: su_remote and su_local are properties of the connection 2025-01-10 10:07:11 -05:00
bgp_script.h bgpd: remove bgpd.h from bgp script header 2024-09-17 08:26:04 -04:00
bgp_snmp_bgp4.c bgpd: su_remote and su_local are properties of the connection 2025-01-10 10:07:11 -05:00
bgp_snmp_bgp4.h bgpd: add snmp traps for bgp4-mibv2 2023-10-24 17:16:47 +02:00
bgp_snmp_bgp4v2.c bgpd: su_remote and su_local are properties of the connection 2025-01-10 10:07:11 -05:00
bgp_snmp_bgp4v2.h bgpd: add snmp traps for bgp4-mibv2 2023-10-24 17:16:47 +02:00
bgp_snmp.c bgpd, doc: add bgp snmp traps rfc4382 command 2024-08-11 19:28:50 +00:00
bgp_snmp.h bgpd: add [no] bgp snmp traps bgp4-mibv2 command 2023-10-24 17:16:47 +02:00
bgp_table.c bgpd: When using dev build add pointer information to %pBD 2024-03-14 09:45:09 +00:00
bgp_table.h Merge pull request #17619 from donaldsharp/bgp_metaq_upstream 2024-12-20 13:59:15 -06:00
bgp_trace.c *: Add missing SPDX-License-Identifier for some .c/.h files 2024-03-21 16:46:58 +02:00
bgp_trace.h bgpd: bmp, handle imported bgp instances in bmp end of rib 2025-01-07 15:35:32 +01:00
bgp_updgrp_adv.c bgpd: Withdraw routes without waiting for the coalescing timer to expire 2024-12-18 14:25:58 +02:00
bgp_updgrp_packet.c bgpd: remove unused BATTR_REFLECTED for rmap_change_flags 2025-01-14 08:46:54 -08:00
bgp_updgrp.c bgpd: Fix bgp peer solo option 2025-01-23 14:48:16 +01:00
bgp_updgrp.h bgpd: remove unused BATTR_REFLECTED for rmap_change_flags 2025-01-14 08:46:54 -08:00
bgp_vnc_types.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_vpn.c bgpd: Fix display when using missing-as-worst 2024-04-15 12:33:53 -04:00
bgp_vpn.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
bgp_vty.c Merge pull request #17992 from chiragshah6/fdev5 2025-02-04 07:40:36 -05:00
bgp_vty.h bgpd: Fix showing default timers bgp x y 2025-01-09 23:56:31 +02:00
bgp_zebra.c bgpd: Request SRv6 locator after zebra connection 2025-02-12 03:00:15 +00:00
bgp_zebra.h bgpd: backpressure - Optimize EVPN L3VNI remote routes processing 2024-12-09 08:46:16 -08:00
bgpd.c bgpd: fix process_queue when un-hiding 2025-02-27 09:43:55 +01:00
bgpd.h bgpd: Do not start BGP session if BGP identifier is not set 2025-02-04 16:37:55 +00:00
Makefile
subdir.am bgpd: move l3nhg functions in separate bgp_nhg.[ch] file 2023-12-11 21:03:33 +01:00