Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zebra]fix the assert issue when the nexthop type of ip route entry is blackhole. #5940

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wangshengjun
Copy link
Contributor

- Why I did it
When adding the route entry which nexthop type is blackhole, the process of zebra crashed
- How I did it
admin@sonic:$ vtysh
Hello, this is FRRouting (version 7.2.1-sonic).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
sonic# configure
sonic(config)# ip route 10.0.0.0/8 blackhole
sonic(config)# admin@sonic:
$ show logging | grep zebra
Nov 16 09:03:24.160321 sonic INFO bgp#supervisord: zebra zebra: zebra/zebra_fpm.c:993: zfpm_build_route_updates: Assertion `data_len' failed.
Nov 16 09:03:26.851960 sonic INFO bgp#supervisor-proc-exit-listener: Process zebra exited unxepectedly. Terminating supervisor...

- How to verify it

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

…ckhole.

Signed-off-by: wangshengjun <wangshengjun@asterfusion.com>
…ckhole.

Signed-off-by: wangshengjun <wangshengjun@asterfusion.com>
@wangshengjun wangshengjun reopened this Nov 17, 2020
@wangshengjun wangshengjun changed the title Dev [zebra]fix the assert issue when the nexthop type is blackhole. Nov 17, 2020
@wangshengjun wangshengjun changed the title [zebra]fix the assert issue when the nexthop type is blackhole. [zebra]fix the assert issue when the nexthop type of ip route entry is blackhole. Nov 17, 2020
@wangshengjun wangshengjun reopened this Nov 17, 2020
@wangshengjun wangshengjun requested a review from lguohan as a code owner February 6, 2021 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant