mirror_frr/bgpd
vivek 7cd6a66a6f bgpd: Remove nexthop for peer only for "real" peer
During connection establishment, there is a separate peer structure created
for the doppelganger (for incoming connection). When this is deleted after
the connection has established, take care to ensure that the nexthop entry
for the peer is not deleted.

Fixes: f9164b1d74
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>

Ticket: CM-13875
Reviewed By: None
Testing Done: Manual

(cherry picked from commit 4f2bc892cbddbf36bd5e1b2f36c33260af614b33)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2016-12-05 15:48:46 +01:00
..
rfapi bgpd: Fix crashes when no default bgp instance is configured. 2016-12-01 16:28:12 +01:00
rfp-example vnc: use directories in includes (request from Martin W.) 2016-10-03 08:17:13 -04:00
.gitignore [administrivia] Update gitignore files 2008-08-22 20:02:08 +01:00
BGP4-MIB.txt Initial revision 2002-12-13 20:15:29 +00:00
bgp_advertise.c lib, bgpd, tests: Refactor FILTER_X in zebra.h 2016-08-16 11:00:22 -04:00
bgp_advertise.h lib, bgpd: Remove 'struct fifo' from lib/zebra.h 2016-09-16 21:22:30 -04:00
bgp_aspath.c lib: replace strlcpy & strlcat with glibc versions 2016-11-15 17:35:36 +09:00
bgp_aspath.h bgpd: add 'neighbor x.x.x.x allowas-in origin' knob 2016-10-21 17:51:05 +00:00
bgp_attr.c bgpd: Remove the double-pass parsing of NLRIs 2016-10-26 09:36:09 -04:00
bgp_attr.h *: Consistently support 32-bit route tags 2016-10-07 21:05:05 -04:00
bgp_bfd.c Merge remote-tracking branch 'origin/cmaster' into cmaster-next 2016-09-08 19:37:42 -04:00
bgp_bfd.h bgpd: Process directly connected IBGP peers upon interface down 2016-09-08 10:03:30 -07:00
bgp_btoa.c *: use an ifindex_t type, defined in lib/if.h, for ifindex values 2016-08-18 07:35:38 -04:00
bgp_clist.c bgpd: don't leak memory in community_regexp_include 2016-10-20 20:28:26 -04:00
bgp_clist.h Should be able to "no" the full text of any config line 2015-11-23 18:05:03 +00:00
bgp_community.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
bgp_community.h Key changes: 2015-06-12 07:59:11 -07:00
bgp_damp.c lib, bgpd, tests: Refactor FILTER_X in zebra.h 2016-08-16 11:00:22 -04:00
bgp_damp.h bgpd: Display of configured dampening parameters 2016-05-26 15:26:05 +00:00
bgp_debug.c lib: replace strlcpy & strlcat with glibc versions 2016-11-15 17:35:36 +09:00
bgp_debug.h bgp debug: restore printing of memstats on exit, now prints if any debug flag set 2016-09-30 12:57:05 -04:00
bgp_dump.c bgpd: fix MRT table dumps for locally-originated routes 2016-10-18 08:39:23 -04:00
bgp_dump.h BGP: Update dump to allow Extended Time Format 2015-11-17 13:32:56 -08:00
bgp_ecommunity.c bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_ecommunity.h bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_encap_tlv.c bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_encap_tlv.h bgpd: encap: add attribute handling 2016-06-09 18:36:40 -07:00
bgp_encap_types.h bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_encap.c bgpd: make bgp_nlri_parse_encap conform with other nlri_parse funcs 2016-10-26 09:36:08 -04:00
bgp_encap.h bgpd: make bgp_nlri_parse_encap conform with other nlri_parse funcs 2016-10-26 09:36:08 -04:00
bgp_filter.c *: Consolidate all double VIEW_NODE and ENABLE_NODE's 2016-10-07 21:05:06 -04:00
bgp_filter.h bgpd: bgpd-warnings.patch 2015-05-19 18:12:17 -07:00
bgp_fsm.c bgpd: 'Last write' does not update when we TX a keepalive 2016-10-06 13:20:02 +00:00
bgp_fsm.h bgpd: fix using of two pointers for struct thread_master * 2015-10-14 06:16:10 -07:00
bgp_main.c bgpd: Fix shutdown order. 2016-10-19 22:28:45 -04:00
bgp_memory.c bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_memory.h bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_mpath.c bgpd: Enhance path selection logs 2016-09-06 12:38:21 -07:00
bgp_mpath.h bgpd: Convert BGP_MAXIMUM_MAXPATHS to MULTIPATH_NUM 2015-12-08 10:07:03 -08:00
bgp_mplsvpn.c bgpd: Remove the double-pass parsing of NLRIs 2016-10-26 09:36:09 -04:00
bgp_mplsvpn.h bgpd: Remove the double-pass parsing of NLRIs 2016-10-26 09:36:09 -04:00
bgp_network.c Merge remote-tracking branch 'origin/cmaster' into cmaster-next 2016-10-21 16:05:03 -04:00
bgp_network.h BGP: Fix MD5 authentication for unnumbered neighbors 2015-08-29 16:10:12 -07:00
bgp_nexthop.c bgpd: Fix crash in 'show ip bgp nexthop' 2016-10-18 08:39:23 -04:00
bgp_nexthop.h bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_nht.c bgpd: bgp_nexthop_cache not deleted with peers 2016-10-18 08:39:23 -04:00
bgp_nht.h bgpd: bgp_nexthop_cache not deleted with peers 2016-10-18 08:39:23 -04:00
bgp_open.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
bgp_open.h lib, bgpd: Fixup afi_t to be an enum and cleanup zebra.h 2016-06-06 14:20:24 -07:00
bgp_packet.c bgpd: Squash spurious "unknown afi" log messages 2016-10-26 09:36:09 -04:00
bgp_packet.h bgpd: Regularise bgp_update_receive, add missing notifies and checks 2016-10-26 09:36:08 -04:00
bgp_regex.c lib, bgpd, tests: Refactor FILTER_X in zebra.h 2016-08-16 11:00:22 -04:00
bgp_regex.h build: massively remove needless checks 2016-11-15 14:23:17 +09:00
bgp_route.c bgpd: Fix 'show ip bgp' to not change it's output 2016-12-05 15:48:46 +01:00
bgp_route.h bgpd: Remove the double-pass parsing of NLRIs 2016-10-26 09:36:09 -04:00
bgp_routemap.c build: massively remove needless checks 2016-11-15 14:23:17 +09:00
bgp_snmp.c lib, bgpd, tests: Refactor FILTER_X in zebra.h 2016-08-16 11:00:22 -04:00
bgp_snmp.h 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 12:44:16 +00:00
bgp_table.c lib, bgpd, tests: Refactor FILTER_X in zebra.h 2016-08-16 11:00:22 -04:00
bgp_table.h bgpd: fix build on Solaris 2016-08-24 11:17:55 -04:00
bgp_updgrp_adv.c bgpd: Fix route node unlock when clearing adj-out 2016-12-02 16:59:02 +01:00
bgp_updgrp_packet.c lib: replace strlcpy & strlcat with glibc versions 2016-11-15 17:35:36 +09:00
bgp_updgrp.c lib: replace strlcpy & strlcat with glibc versions 2016-11-15 17:35:36 +09:00
bgp_updgrp.h bgpd: fix build on Solaris 2016-08-24 11:17:55 -04:00
bgp_vnc_types.h bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_vty.c Merge remote-tracking branch 'cmaster-next' into cmaster-next-releng 2016-11-19 11:58:52 +01:00
bgp_vty.h vtysh: work around gcc bug #69981 2016-09-19 16:31:08 -04:00
bgp_zebra.c bgpd: implement admin distance 2016-10-19 22:28:45 -04:00
bgp_zebra.h bgp: ignore NHT when bgpd has never connected to zebra 2016-10-18 08:33:05 -04:00
bgpd.c bgpd: Remove nexthop for peer only for "real" peer 2016-12-05 15:48:46 +01:00
bgpd.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
bgpd.conf.sample2 Initial revision 2002-12-13 20:15:29 +00:00
bgpd.conf.vnc.sample bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgpd.h bgpd: add 'neighbor x.x.x.x allowas-in origin' knob 2016-10-21 17:51:05 +00:00
IMPLEMENTATION.txt Adjust size complexity estimates. Still not quite right, but closer. 2005-02-15 17:10:03 +00:00
Makefile.am bgpd/rfapi: Fix missing files in distribution ("make dist") package 2016-11-15 14:07:27 +09:00