mirror_frr/zebra
Philippe Guibert 5efbf31054 zebra: avoid case where same interface pointer returned
When checking for a duplicate interface in an other NETNS, one may find
an interface in default VRF. That interface may have been moved to that
default VRF, for further action. Prevent from doing any action at this
point.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2018-05-04 16:50:47 +02:00
..
.gitignore *: globally ignore clippy-generated source 2018-03-09 17:52:15 -05:00
client_main.c zebra: fix error-prone array iterator 2018-04-17 13:58:24 -04:00
connected.c zebra: Check for NULL in connected_add_ipv6 2018-04-16 11:17:52 -04:00
connected.h zebra: Fix crash with certain types of tunnels 2018-04-15 10:57:19 -04:00
debug.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
debug.h zebra: add pseudowire manager 2017-08-09 12:35:15 +02:00
GNOME-PRODUCT-ZEBRA-MIB Initial revision 2002-12-13 20:15:29 +00:00
GNOME-SMI Initial revision 2002-12-13 20:15:29 +00:00
if_ioctl_solaris.c zebra: Fix crash with certain types of tunnels 2018-04-15 10:57:19 -04:00
if_ioctl.c zebra: Fix crash with certain types of tunnels 2018-04-15 10:57:19 -04:00
if_netlink.c zebra: avoid case where same interface pointer returned 2018-05-04 16:50:47 +02:00
if_netlink.h *: reindent 2017-07-17 14:04:07 +02:00
if_sysctl.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
interface.c zebra: Notice when our neighbor entry is removed and fight back 2018-04-09 08:04:39 -04:00
interface.h zebra: Notice when our neighbor entry is removed and fight back 2018-04-09 08:04:39 -04:00
ioctl_solaris.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ioctl_solaris.h *: reindent 2017-07-17 14:04:07 +02:00
ioctl.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ioctl.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ipforward_proc.c bgpd, zebra: Use sscanf return value 2017-12-04 21:28:19 -05:00
ipforward_solaris.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
ipforward_sysctl.c configure, zebra: Kame is not responsible for on/off of v6 forwarding 2017-12-05 17:26:32 -05:00
ipforward.h *: reindent 2017-07-17 14:04:07 +02:00
irdp_interface.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
irdp_main.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
irdp_packet.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
irdp.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
kernel_netlink.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
kernel_netlink.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
kernel_socket.c zebra: Fix crash on *BSD 2018-05-01 23:24:53 -04:00
kernel_socket.h zebra: cleanup blackhole support 2017-08-28 05:07:51 +02:00
label_manager.c zebra: cleanup for zapi_msg.c split 2018-04-22 22:50:25 -04:00
label_manager.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
main.c zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
Makefile build: convert zebra/ to non-recursive build 2017-07-31 23:03:30 +02:00
redistribute.c Merge pull request #2106 from qlyoung/zapi-msg 2018-04-24 08:23:42 -04:00
redistribute.h zebra: clean up zapi organization 2018-04-22 22:50:24 -04:00
rib.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
router-id.c zebra: clean up zapi organization 2018-04-22 22:50:24 -04:00
router-id.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rt_netlink.c zebra: Add PBR and SHARP handling 2018-04-27 14:59:52 -04:00
rt_netlink.h zebra: Add PBR and SHARP handling 2018-04-27 14:59:52 -04:00
rt_socket.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
rt.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
rtadv.c zebra: clean up zapi organization 2018-04-22 22:50:24 -04:00
rtadv.h Revert "zebra: implement draft-bz-v4goawayflag-00" 2018-04-02 15:26:06 -04:00
rtread_getmsg.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
rtread_netlink.c *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
rtread_sysctl.c *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
rule_netlink.c zebra: adapt zebra_pbr_rule based with pbr_rule 2018-04-16 14:40:43 +02:00
rule_netlink.h zebra: Cleanup a couple of api issues 2018-03-09 11:07:41 -05:00
rule_socket.c *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
subdir.am zebra: clean up zapi organization 2018-04-22 22:50:24 -04:00
table_manager.c zebra: cleanup for zapi_msg.c split 2018-04-22 22:50:25 -04:00
table_manager.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
testrib.conf zebra: Build the test client, can be useful, and add IPv6 to testrib.conf 2016-05-26 01:13:58 +00:00
zapi_msg.c zebra: style last 3 changes 2018-04-22 22:50:25 -04:00
zapi_msg.h zebra: style last 3 changes 2018-04-22 22:50:25 -04:00
zebra_fpm_dt.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_fpm_netlink.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_fpm_private.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_fpm_protobuf.c zebra: Set "has" flags on optional scalar fields of FPM protobuf messages 2018-03-29 19:09:43 +03:00
zebra_fpm.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
zebra_l2_null.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_l2.c *: use the FOR_ALL_INTERFACES abstraction from babeld 2017-10-10 09:05:46 -03:00
zebra_l2.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_memory.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_memory.h zebra: Refactor 'struct rib' to be 'struct route_entry' 2017-06-01 08:00:05 -04:00
zebra_mpls_netlink.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
zebra_mpls_null.c zebra: Fix lsp add/del from kernel using SETFLAG 2017-11-29 13:01:00 -05:00
zebra_mpls_openbsd.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_mpls_vty.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_mpls.c zebra: cleanup for zapi_msg.c split 2018-04-22 22:50:25 -04:00
zebra_mpls.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
zebra_mroute.c zebra: reorganize zserv, batch i/o 2018-03-12 14:57:05 -04:00
zebra_mroute.h zebra: standardize ZAPI message handler args 2018-03-12 14:57:05 -04:00
zebra_netns_id.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_netns_id.h zebra: upon startup, a NSID is assigned to default netns 2018-02-27 11:11:24 +01:00
zebra_netns_notify.c zebra: add an indirection table for ns_id 2018-04-13 16:40:32 +02:00
zebra_netns_notify.h zebra: collect and get netnamespaces information 2018-02-27 11:11:24 +01:00
zebra_ns.c zebra: add IPTABLE_ADD and IPTABLE_DEL commands in zapi 2018-04-16 14:40:43 +02:00
zebra_ns.h zebra: clean up zapi organization 2018-04-22 22:50:24 -04:00
zebra_pbr.c zebra: clean up zapi organization 2018-04-22 22:50:24 -04:00
zebra_pbr.h zebra: adapt zebra_pbr_rule based with pbr_rule 2018-04-16 14:40:43 +02:00
zebra_ptm_redistribute.c zebra: clean up zapi organization 2018-04-22 22:50:24 -04:00
zebra_ptm_redistribute.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_ptm.c zebra: style last 3 changes 2018-04-22 22:50:25 -04:00
zebra_ptm.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
zebra_pw.c zebra: cleanup for zapi_msg.c split 2018-04-22 22:50:25 -04:00
zebra_pw.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
zebra_rib.c zebra: clean up zapi organization 2018-04-22 22:50:24 -04:00
zebra_rnh.c zebra: style last 3 changes 2018-04-22 22:50:25 -04:00
zebra_rnh.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
zebra_routemap.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_routemap.h zebra: clean up zapi organization 2018-04-22 22:50:24 -04:00
zebra_snmp.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_static.c zebra: Leave some warning breadcrumbs 2018-04-17 14:04:47 -04:00
zebra_static.h Merge pull request #1973 from donaldsharp/static_nh_vrf 2018-04-10 17:27:57 -03:00
zebra_vrf.c zebra: clean up zapi organization 2018-04-22 22:50:24 -04:00
zebra_vrf.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_vty.c zebra: Add a few more breadcrumbs 2018-05-02 16:50:37 -04:00
zebra_vxlan_null.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_vxlan_private.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_vxlan.c zebra: Cleanup lines over 80 columns 2018-04-12 09:20:20 -04:00
zebra_vxlan.h zebra: act on kernel notifications for remote neighbors as well 2018-04-12 09:07:43 -04:00
zebra.conf.sample *: Remove cvs control points 2017-12-05 17:28:12 -05:00
zserv.c zebra: style last 3 changes 2018-04-22 22:50:25 -04:00
zserv.h zebra: style last 3 changes 2018-04-22 22:50:25 -04:00