summaryrefslogtreecommitdiff
path: root/lib/filter_nb.c
diff options
context:
space:
mode:
authorRichard Wu <wutong23@baidu.com>2020-06-03 09:44:16 +0800
committerRichard Wu <wutong23@baidu.com>2020-06-03 10:43:37 +0800
commitb0e9567ed162da708f8d0b3a3caf87cd03b62e96 (patch)
tree34f2f020b8766ff1d57d306da6876621c108228b /lib/filter_nb.c
parentf981d44931ced06f594b33c54a27d6d843ad0379 (diff)
zebra: Fix zebra crashed in building FPM netlink message when bgp sends aggregation routes to zebra.
Issue: When BGP sends aggregation routes to zebra, the next hop is black hole. Then Zebra will try to build the netlink FPM message, but there is no next hop as it is a black hole route. Then the netlink_route_info_fill function returns 0. In the result, zebra will crashed in "assert(data_len)" of zfpm_build_route_updates. This issue also happen when I create a static black hole route via staticd. Fix: As the netlink message of the blackhole route is legal, it should return success. Signed-off-by: Richard Wu <wutong23@baidu.com>
Diffstat (limited to 'lib/filter_nb.c')
0 files changed, 0 insertions, 0 deletions