summaryrefslogtreecommitdiff
path: root/lib/debug.c
diff options
context:
space:
mode:
author恭简 <gongjian.lhr@alibaba-inc.com>2023-07-26 09:51:51 +0800
committer恭简 <gongjian.lhr@alibaba-inc.com>2023-08-01 09:58:00 +0800
commit4aa1aace3e32039b668c04cd682b01e0397144ea (patch)
tree18727c416502d93e3a6a91da1049aa9348c05653 /lib/debug.c
parent3f043d027f29ec676b3abdc46397a863fbd73717 (diff)
zebra: remove duplicated nexthops when sending fpm msg
When zebra send msg to fpm client, it doesn't handle duplicated nexthops especially, which means if zebra has a route with NUM1 recursive nexthops, each resolved to the same NUM2 connected nexthops, it will send to fpm client a route with NUM1*NUM2 nexthops. But actually there are only NUM2 useful nexthops, the left NUM1*NUM2-NUM2 nexthops are all duplicated nexthops. By the way, zebra has duplicated nexthop remove logic when sending msg to kernel. Add duplicated nexthop remove logic to zebra when sending msg to fpm client. Signed-off-by: 恭简 <gongjian.lhr@alibaba-inc.com>
Diffstat (limited to 'lib/debug.c')
0 files changed, 0 insertions, 0 deletions