]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: resolve crash in workqueue processing due to invalid safi
authorDon Slice <dslice@cumulusnetworks.com>
Wed, 3 May 2017 13:15:20 +0000 (06:15 -0700)
committerDon Slice <dslice@cumulusnetworks.com>
Thu, 4 May 2017 18:05:23 +0000 (11:05 -0700)
commit25c3f3f61144b44d3ed210c9cff46827e9eef9fd
treef61343c9c6b8511ab77091c2614fde148f6fd767
parentd476347d5d60f59647ceb51d2cee1b56153e9903
bgpd: resolve crash in workqueue processing due to invalid safi

Crash uncovered when workqueue item was pulled with safi set to 7
(SAFI_LABELED_UNICAST) without labled-unicast being configured.
Also fixed minor issue removing aggregate-address command due to bad
index.

Ticket: CM-16169
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_route.c