diff options
author | Don Slice <dslice@cumulusnetworks.com> | 2019-04-15 20:27:00 +0200 |
---|---|---|
committer | Don Slice <dslice@cumulusnetworks.com> | 2019-04-19 18:56:07 +0200 |
commit | e47c4d3cfe7bf7c97f4b10fc6347f484093f14bd (patch) | |
tree | 014ce7ef567c126d8bdee5e11392de7b6e21c7f4 /zebra/zebra_mpls_netlink.c | |
parent | Merge pull request #4164 from opensourcerouting/rm-ports (diff) | |
download | frr-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