summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mpls_netlink.c
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2019-04-15 20:27:00 +0200
committerDon Slice <dslice@cumulusnetworks.com>2019-04-19 18:56:07 +0200
commite47c4d3cfe7bf7c97f4b10fc6347f484093f14bd (patch)
tree014ce7ef567c126d8bdee5e11392de7b6e21c7f4 /zebra/zebra_mpls_netlink.c
parentMerge pull request #4164 from opensourcerouting/rm-ports (diff)
downloadfrr-e47c4d3cfe7bf7c97f4b10fc6347f484093f14bd.tar.xz
frr-e47c4d3cfe7bf7c97f4b10fc6347f484093f14bd.zip
zebra: stop sending invalid nexthops to clients
Found that zebra_rnh_apply_nht_rmap would set the NEXTHOP_FLAG_ACTIVE if not blocked by the route-map, even if the flag was not active prior to the check. This fix changes the flag used to denote the nexthop is filtered so that proper active state can be retained. Additionally, found two cases where we would send invalid nexthops via send_client, which would also cause this crash. All three fixed in this commit. Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_mpls_netlink.c')
0 files changed, 0 insertions, 0 deletions