mirror_frr/bgpd
Donald Sharp 9669fbde13 bgpd: Centralize the dest unlocking for adj_out data structure
When FRR creates a adj_out data structure we lock the `struct
bgp_dest` node associated with it.  On freeing of this data
structure and removing the lock it was not associated with
the actual free of the adjacency structure.  Let's clean up
the lock/unlock to be centralized to the alloc/free of the adj_out.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-02-01 10:25:09 -05:00
..
rfapi bgpd: Remove #if 0 code 2021-01-28 13:57:49 -05:00
rfp-example Treewide: use ANSI function definitions 2019-01-24 11:21:59 +01:00
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
bgp_addpath_types.h bgpd: Re-use TX Addpath IDs where possible 2018-11-10 00:16:36 +00:00
bgp_addpath.c bgpd, lib, staticd, tests: Convert to using FOREACH_AFI_SAFI 2020-11-14 18:53:03 -05:00
bgp_addpath.h bgp: rename bgp_node to bgp_dest 2020-06-23 17:32:52 +02:00
bgp_advertise.c bgp: rename bgp_node to bgp_dest 2020-06-23 17:32:52 +02:00
bgp_advertise.h bgpd: Do not send BGP UPDATE if the route actually not changed 2020-12-11 14:51:05 +02:00
bgp_aspath.c *: un-split strings across lines 2020-07-14 10:37:25 +02:00
bgp_aspath.h Merge pull request #5954 from ton31337/feature/rfc7607 2020-03-17 10:27:35 -04:00
bgp_attr_evpn.c bgpd: Use uint32_t for size value instead of int in ecommunity struct 2021-01-18 09:06:49 -05:00
bgp_attr_evpn.h bgpd: support for DF election in EVPN-MH 2020-10-26 10:26:21 -07:00
bgp_attr.c bgpd: Use uint32_t for size value instead of int in ecommunity struct 2021-01-18 09:06:49 -05:00
bgp_attr.h bgpd: Convert attr->vnc_subtlvs to use accessor functions 2020-11-15 09:49:14 -05:00
bgp_bfd.c bgpd: Fix profiles compile issue when not using bfdd 2020-10-26 11:25:28 -04:00
bgp_bfd.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_bmp.c Merge pull request #7544 from andylemin/master 2020-11-19 19:24:42 -05:00
bgp_bmp.h bgpd: More bgp_node -> bgp_dest cleanup 2020-10-17 08:52:35 -04:00
bgp_btoa.c bgpd: Convert inet_ntoa to %pI4/inet_ntop 2020-10-18 11:22:30 +03:00
bgp_clist.c bgpd: Remove community_regexp_delete() function 2021-01-21 16:00:53 +02:00
bgp_clist.h bgpd: separate lcommunity validation from tokenizer 2021-01-06 07:18:20 -05:00
bgp_community.c bgpd: Set NO_ADVERTISE community if blackhole community received 2021-01-21 16:00:53 +02:00
bgp_community.h bgpd: Set NO_ADVERTISE community if blackhole community received 2021-01-21 16:00:53 +02:00
bgp_conditional_adv.c bgpd: Remove awful test of strmatch + get_afi_safi_str 2020-12-17 16:49:20 -05:00
bgp_conditional_adv.h bgpd: conditional advertisement - copyright 2020-10-27 16:15:36 +05:30
bgp_damp.c bgpd: Use the header 2020-12-17 16:42:33 -05:00
bgp_damp.h bgpd: peer / peer group dampening profiles 2020-11-02 16:30:01 +01:00
bgp_debug.c Merge pull request #7247 from ton31337/feature/enhanced_route_refresh_capability 2021-01-12 11:27:11 -05:00
bgp_debug.h bgpd: debug flags for MH 2020-08-05 06:46:12 -07:00
bgp_dump.c * : update signature of thread_cancel api 2020-10-23 08:59:34 -04:00
bgp_dump.h bgpd: hook for bgp peer status change events 2019-08-13 11:59:27 -07:00
bgp_ecommunity.c bgpd: Use uint32_t for size value instead of int in ecommunity struct 2021-01-18 09:06:49 -05:00
bgp_ecommunity.h bgpd: Use uint32_t for size value instead of int in ecommunity struct 2021-01-18 09:06:49 -05:00
bgp_encap_tlv.c *: remove null check before XFREE 2019-02-25 23:00:46 +00:00
bgp_encap_tlv.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_encap_types.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_errors.c bgpd: Advertise FIB installed routes to bgp peers (Part 2) 2020-11-06 08:46:04 +05:30
bgp_errors.h bgpd: Advertise FIB installed routes to bgp peers (Part 2) 2020-11-06 08:46:04 +05:30
bgp_evpn_mh.c Merge pull request #7635 from AnuradhaKaruppiah/ead-evi-knobs 2021-01-26 17:14:57 +00:00
bgp_evpn_mh.h Merge pull request #7635 from AnuradhaKaruppiah/ead-evi-knobs 2021-01-26 17:14:57 +00:00
bgp_evpn_private.h *: Replace s_addr check agains 0 with INADDR_ANY 2020-12-14 21:03:38 +02:00
bgp_evpn_vty.c bgpd: Add show bgp summary wide command 2021-01-28 16:35:16 +02:00
bgp_evpn_vty.h bgpd: numerical evpn type support to debug commands 2020-10-13 16:13:16 -04:00
bgp_evpn.c bgpd: Use uint32_t for size value instead of int in ecommunity struct 2021-01-18 09:06:49 -05:00
bgp_evpn.h bgpd: use L3NHG while installing EVPN host routes in zebra 2020-11-24 11:06:08 -08:00
bgp_filter.c bgpd: print error when as-path filter doesn't exist 2020-10-14 23:10:48 +03:00
bgp_filter.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_flowspec_private.h bgpd, lib: support for flow_label flowspec type 2020-08-21 13:37:08 +02:00
bgp_flowspec_util.c lib: fix macro style 2020-11-18 19:14:03 +03:00
bgp_flowspec_util.h bgpd: ipv6 flowspec address decoding and validation 2020-08-21 13:37:08 +02:00
bgp_flowspec_vty.c *: Replace s_addr check agains 0 with INADDR_ANY 2020-12-14 21:03:38 +02:00
bgp_flowspec.c bgpd, lib: support for flow_label flowspec type 2020-08-21 13:37:08 +02:00
bgp_flowspec.h bgpd: flowspec code support for ipv6 2020-08-21 13:37:08 +02:00
bgp_fsm.c bgpd: Remove #if 0 code 2021-01-28 13:57:49 -05:00
bgp_fsm.h bgpd: Advertise FIB installed routes to bgp peers (Part 3) 2020-11-06 08:55:56 +05:30
bgp_io.c bgpd: Advertise FIB installed routes to bgp peers (Part 3) 2020-11-06 08:55:56 +05:30
bgp_io.h bgpd: raise default & max r/w quanta to 64 2019-10-14 18:41:53 +00:00
bgp_keepalives.c *: generously apply const 2019-12-02 15:01:29 +01:00
bgp_keepalives.h bgpd: update pthreads to use lib changes 2018-01-24 15:30:55 -05:00
bgp_label.c bgpd: release label to labelpool on dereg 2021-01-04 14:29:44 +00:00
bgp_label.h bgp: rename bgp_node to bgp_dest 2020-06-23 17:32:52 +02:00
bgp_labelpool.c bgpd: fix zclient return code damage in labelpool 2021-01-04 14:29:44 +00:00
bgp_labelpool.h bgpd: add show commands for bgp labelpool 2021-01-04 14:29:35 +00:00
bgp_lcommunity.c bgpd: separate lcommunity validation from tokenizer 2021-01-06 07:18:20 -05:00
bgp_lcommunity.h bgpd: separate lcommunity validation from tokenizer 2021-01-06 07:18:20 -05:00
bgp_mac.c bgpd: Convert attr->evpn_overlay to accessor functions 2020-11-15 09:49:14 -05:00
bgp_mac.h bgpd: Rework code to use const struct prefix 2020-03-24 07:51:41 -04:00
bgp_main.c Merge pull request #7639 from qlyoung/frr-lua 2021-01-19 07:17:03 -05:00
bgp_memory.c bgpd: Handle ES VTEP add/del to a host route 2020-11-24 11:06:08 -08:00
bgp_memory.h bgpd: Handle ES VTEP add/del to a host route 2020-11-24 11:06:08 -08:00
bgp_mpath.c bgpd: Multipath is always being allocated 2020-11-02 10:14:48 -05:00
bgp_mpath.h bgp: rename bgp_node to bgp_dest 2020-06-23 17:32:52 +02:00
bgp_mplsvpn.c bgpd: make sure nh is valid for MPLS vpn routes 2021-01-27 13:56:45 +00:00
bgp_mplsvpn.h bgpd: convert global config to transactional cli 2020-10-03 11:25:37 -07:00
bgp_nb_config.c Merge pull request #7781 from chiragshah6/evpn_dev 2021-01-19 11:26:34 -05:00
bgp_nb.c yang: nbr plist nb conversion for more afi-safis 2021-01-09 23:06:02 -08:00
bgp_nb.h yang: nbr plist nb conversion for more afi-safis 2021-01-09 23:06:02 -08:00
bgp_network.c bgpd, lib, nhrpd, zebra: verify return of sockunion2hostprefix 2020-11-18 11:04:27 -05:00
bgp_network.h bgpd: associate listener with the appropriate bgp instance 2020-09-01 09:42:26 +01:00
bgp_nexthop.c bgpd: Add bgp_nexthop_dump_bnc_change_flags function 2021-01-29 07:54:58 -05:00
bgp_nexthop.h bgpd: Add bgp_nexthop_dump_bnc_change_flags function 2021-01-29 07:54:58 -05:00
bgp_nht.c bgpd: Add bgp_nexthop_dump_bnc_change_flags function 2021-01-29 07:54:58 -05:00
bgp_nht.h bgpd: make sure nh is valid for MPLS vpn routes 2021-01-27 13:56:45 +00:00
bgp_open.c bgpd: Implement enhanced route refresh capability 2021-01-05 20:19:41 +02:00
bgp_open.h bgpd: Implement enhanced route refresh capability 2021-01-05 20:19:41 +02:00
bgp_packet.c bgpd: Initialize bgp_notify.raw_data before passing to bgp_notify_receive() 2021-01-31 16:20:36 +02:00
bgp_packet.h bgpd: Implement enhanced route refresh capability 2021-01-05 20:19:41 +02:00
bgp_pbr.c bgpd: Remove #if 0 code 2021-01-28 13:57:49 -05:00
bgp_pbr.h bgpd: fallback proto icmp/v6 to appropriate l3 filter 2020-08-21 13:37:08 +02:00
bgp_rd.c bgpd: Convert inet_ntoa to %pI4/inet_ntop 2020-10-18 11:22:30 +03:00
bgp_rd.h bgpd: support for Ethernet Segments and Type-1/EAD routes 2020-08-05 06:46:12 -07: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: Remove #if 0 code 2021-01-28 13:57:49 -05:00
bgp_route.h bgpd: Add show bgp summary wide command 2021-01-28 16:35:16 +02:00
bgp_routemap.c Merge pull request #7899 from ton31337/fix/bgpd_blackhole_community 2021-01-22 08:36:27 -05:00
bgp_rpki.c bgpd: Cleanup rpki indentation 2020-11-20 08:44:25 -05:00
bgp_script.c build: HAVE_LUA -> HAVE_SCRIPTING 2020-12-01 18:37:14 -05:00
bgp_script.h build: HAVE_LUA -> HAVE_SCRIPTING 2020-12-01 18:37:14 -05:00
bgp_snmp.c bgpd: implement bgpPeerTable accross VRFs 2020-08-06 18:04:44 +02:00
bgp_table.c bgpd: Remove pointer structure from struct bgp_dest 2020-11-04 15:18:01 -05:00
bgp_table.h bgpd: refactor label allocation code 2021-01-04 14:29:44 +00:00
bgp_trace.c bgpd: add basic packet-related tracepoints 2020-10-23 15:13:51 -04:00
bgp_trace.h bgpd: clean up trace header style a bit 2020-10-23 15:23:12 -04:00
bgp_updgrp_adv.c bgpd: Centralize the dest unlocking for adj_out data structure 2021-02-01 10:25:09 -05:00
bgp_updgrp_packet.c bgpd: Centralize the dest unlocking for adj_out data structure 2021-02-01 10:25:09 -05:00
bgp_updgrp.c bgpd: Remove #if 0 code 2021-01-28 13:57:49 -05:00
bgp_updgrp.h bgpd: Remove #if 0 code 2021-01-28 13:57:49 -05:00
bgp_vnc_types.h bgpd: #if ENABLE_BGP_VNC -> #ifdef ENABLE_BGP_VNC 2020-04-01 15:05:26 -04:00
bgp_vpn.c bgpd: Convert inet_ntoa to %pI4/inet_ntop 2020-10-18 11:22:30 +03:00
bgp_vpn.h bgpd/ospfd: make bgp and ospf json response a bit more consistent 2018-08-30 12:40:18 +00:00
bgp_vty.c bgpd: Remove hidden neighbor X route-map Y <in|out> command 2021-01-29 21:30:27 -05:00
bgp_vty.h bgpd: Add show bgp summary wide command 2021-01-28 16:35:16 +02:00
bgp_zebra.c Merge pull request #7670 from ton31337/fix/bgpd_nexhop_handling_for_zebra 2021-01-12 07:32:19 -05:00
bgp_zebra.h bgpd: set/unset bgpd no-rib option at runtime 2020-09-02 18:20:08 +02:00
bgpd.c bgpd: Removing "neighbor <peer-group> allowas-in" 2021-01-28 16:54:35 +00:00
bgpd.conf.sample doc: Update documentation about multiple-instance 2019-06-18 09:31:35 -04:00
bgpd.conf.sample2
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 #7748 from adrianomarto/bgp-listen-on-multiple-addresses 2021-01-13 08:57:38 +02:00
IMPLEMENTATION.txt bgpd: Convert struct bgp_info to struct bgp_path_info 2018-10-09 14:14:25 -04:00
Makefile build: non-recursive bgpd & rfp 2018-09-08 21:25:59 +02:00
subdir.am Merge pull request #7639 from qlyoung/frr-lua 2021-01-19 07:17:03 -05:00
valgrind.supp bgpd: suppress new libyang_1.0 related loss reports 2020-08-08 17:56:18 -04:00