summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorAmeya Dharkar <adharkar@vmware.com>2020-02-06 13:47:43 -0800
committerAmeya Dharkar <adharkar@vmware.com>2020-02-06 13:51:46 -0800
commit4e72ff729d0399e707ba9d12d99667251b352384 (patch)
tree425a25f4dda94b6d8fe7482e4924d0ba5b29cc9b /lib/command_py.c
parent5bf7fe566d74c1093e0c032436a657b4f44ad5f6 (diff)
bgpd: EVPN crash because of incorrect nexthop for IPv6 prefix
RCA: When we install IPv6 prefix imported from EVPN RT-5 in vrf, nexthop of the IPv6 route should be IPv4 mapped IPv6 address. In function install_evpn_route_entry_in_vrf, we generate a new attribute with IPv4 mapped IPv6 nexthop, but we use parent->attr while creating the actual route. Thus, Ipv4 nexthop is assigned to this route. Because of this incorrect nexthop, we observed a crash in function update_ipv6nh_for_route_install. Fix: Pass the new attribute with Ipv4 mapped Ipv6 nexthop to bgp_create_evpn_bgp_path_info Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions