Go to file
root 37e679629f bgpd: changes for crash seen in BGP on "no rt vpn" bug Id 2667
There is a default BGP VPN and BGP VRF instance in L3VPN configuration.
The routes are imported and exported between BGP VPN and BGP VRF.
Suppose there is one route in BGP VRF and exported to BGP VPN.
In BGP VPN there is bgp_info struct with bgp_info_extra struct has parent pointer pointing to the bgp_info of BGP VRF.
We take the lock for bgp_node and bgp_info of BGP VRF in the context of BGP VPN.
bgp_info has a back pointer to bgp_node via net.

Now when we have done "no rd vpn" in BGP VRF then in bgp_info_extra_free we have to free the parent resources.
In this context only unlocking is required. It should not set the BGP VRF (bgp_info->net) to NULL.

Signed-off-by: vishaldhingra vdhingra@vmware.com
2018-07-25 05:27:05 -07:00
alpine alpine: add unit tests to build 2018-06-14 10:27:24 -07:00
babeld Merge pull request #2486 from pacovn/cppcheck_fmt_validation 2018-06-18 15:23:49 -04:00
bgpd bgpd: changes for crash seen in BGP on "no rt vpn" bug Id 2667 2018-07-25 05:27:05 -07:00
debianpkg debianpkg: Add additional lintian override for Ubuntu 18.04 2018-06-12 12:06:00 -07:00
doc Merge pull request #2640 from pguibert6WIND/doc_ldp 2018-07-24 11:34:22 -04:00
docker unit tests: support code coverage instrumentation and reports 2018-07-04 11:06:11 -07:00
eigrpd Merge pull request #2603 from pacovn/PVS-Studio_format_warnings 2018-07-02 14:15:43 -04:00
fpm build: clean up BUILT_SOURCES 2017-08-04 11:13:55 +02:00
gdb gdb: Add a directory of files with gdb macros 2016-05-26 15:33:30 +00:00
include include: add netlink.h to our build system 2018-06-21 08:07:30 -04:00
init build: delete .cvsignore files 2011-12-13 14:27:01 +04:00
isisd libs, daemons: use const in route-map apply 2018-07-23 10:34:35 -04:00
ldpd ldpd: add missing command under the ipv6 address-family node 2018-07-23 19:10:57 -03:00
lib Merge pull request #2665 from chiragshah6/evpn_dev 2018-07-24 11:55:08 -04:00
m4 build: non-recursive auxiliary directories 2017-07-31 23:03:30 +02:00
nhrpd Merge pull request #2609 from pacovn/clang_scan_nhrpd_vici_initialization 2018-07-02 18:49:49 -04:00
ospf6d libs, daemons: use const in route-map apply 2018-07-23 10:34:35 -04:00
ospfclient *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospfd libs, daemons: use const in route-map apply 2018-07-23 10:34:35 -04:00
pbrd pbrd: add logging messages when out of table id's 2018-06-13 20:00:58 +00:00
pimd Merge pull request #2697 from mjstapp/routemap_const 2018-07-23 17:42:04 -04:00
pkgsrc *: Remove cvs control points 2017-12-05 17:28:12 -05:00
ports pimd: merge pimd as of 2015-01-19 2016-05-25 20:38:32 -04:00
python lib, python: DEFPY_ATTR, DEFPY_HIDDEN 2018-04-10 12:19:03 -04:00
qpb *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
redhat RedHat spec: Add the rpki module when needed 2018-07-17 12:49:14 -05:00
ripd libs, daemons: use const in route-map apply 2018-07-23 10:34:35 -04:00
ripngd libs, daemons: use const in route-map apply 2018-07-23 10:34:35 -04:00
sharpd sharpd: Does not need any special priv's 2018-06-21 11:28:16 -04:00
snapcraft snapcraft: Add PBR daemon to snap package 2018-04-30 18:53:18 -07:00
solaris gitignore: update references to FRR 2017-07-12 11:55:04 -05:00
tests tests: add test_bgp_table to gitignore 2018-07-13 07:56:38 -04:00
tools tools: handle exit-vrf as end of context block 2018-07-19 18:38:54 +00:00
vtysh vtysh: fix autocomplete garbage printouts 2018-06-28 18:37:01 +00:00
watchfrr *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra Merge pull request #2704 from sworleys/Netlink-Nexthop-Hang 2018-07-24 19:42:11 -04:00
.clang-format ospfd: LSDB_LOOP treat it as a loop. 2018-01-17 13:29:58 -05:00
.dir-locals.el .dir-locals.el: show trailing whitespace 2017-11-07 12:05:09 -05:00
.dockerignore alpine packaging: build packages and base image directly from git 2018-04-04 10:05:44 -07:00
.gitignore *: globally ignore clippy-generated source 2018-03-09 17:52:15 -05:00
AUTHORS Initial revision 2002-12-13 20:15:29 +00:00
bootstrap.sh autoreconf -i 2007-02-06 19:28:28 +00:00
buildtest.sh config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
ChangeLog Rename: freerangerouting --> frrouting 2017-03-30 14:24:05 -04:00
common.am *: disable all sanitizers for clippy build 2018-06-08 17:22:13 +00:00
configure.ac Merge pull request #2652 from LabNConsulting/working/master/confdate_cleanup 2018-07-23 08:46:26 -04:00
COPYING *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
COPYING-LGPLv2.1 build: remove LGPL v2.0, add LGPL v2.1 2016-11-15 17:19:38 +09:00
defaults.h *: reindent 2017-07-17 14:04:07 +02:00
Makefile.am Merge pull request #2652 from LabNConsulting/working/master/confdate_cleanup 2018-07-23 08:46:26 -04:00
NEWS release: 0.99.24 2016-06-03 15:56:44 -04:00
README frr: fix typo in README 2018-05-14 11:06:27 -04:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00

FRRouting is free software that implements and manages various IPv4 and IPv6
routing protocols.

Currently FRRouting supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1, RIPv2, RIPng,
IS-IS, PIM-SM/MSDP, LDP and Babel as well as very early support for EIGRP and
NHRP.

See doc/user/bugs.rst for information on how to report bugs.

See doc/developer/workflow.rst for information on contributing.

See the file COPYING for copying conditions.

Public email discussion can be found at https://lists.frrouting.org/listinfo

Our public slack channel is at https://frrouting.slack.com