]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_evpn_mh.c
zebra: skip EVI setup if an ES is applied to a pseudo interface
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Wed, 7 Oct 2020 18:33:13 +0000 (11:33 -0700)
committerAnuradha Karuppiah <anuradhak@nvidia.com>
Mon, 21 Dec 2020 16:41:17 +0000 (08:41 -0800)
commit0b05c9bbe1ea14ad7ecf143b6a4d342c614f7fc0
treef75837de1f57f5c63c3a7274a875c11196f9bec5
parent16de1338a9c58c6dcbf98e7064c57708d1e91d68
zebra: skip EVI setup if an ES is applied to a pseudo interface

zebra maintains pseudo interface for hanging off user config after
the interface is deleted in the kernel. If an user tried to config
an ES against such an interface zebra would crash with the following
call stack -
    at zebra/zebra_evpn_mh.c:2095
    sysmac=sysmac@entry=0x55cfbadd3160) at zebra/zebra_evpn_mh.c:2258
    at zebra/zebra_evpn_mh.c:3222
    argv=<optimized out>, es_lid_str=<optimized out>, es_lid=1, no=0x0, vty=0x55cfbaf4c7b0)
    at zebra/zebra_evpn_mh.c:3222
    argv=<optimized out>) at ./zebra/zebra_evpn_mh_clippy.c:202
    vty=vty@entry=0x55cfbaf4c7b0, cmd=cmd@entry=0x0, filter=FILTER_RELAXED)
    at lib/command.c:1073

Ticket: CM-31702

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
zebra/zebra_evpn_mh.c