Skip to content

Commit 2b813ab

Browse files
authored
Merge pull request FRRouting#15728 from raja-rajasekar/rajasekarr/backpressure_fix_coverity
zebra: backpressure - Fix Null ptr access (Coverity Issue)
2 parents 54cfb13 + ed7005d commit 2b813ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bgpd/bgp_zebra.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1782,7 +1782,7 @@ static void bgp_handle_route_announcements_to_zebra(struct event *e)
17821782

17831783
table = bgp_dest_table(dest);
17841784
install = CHECK_FLAG(dest->flags, BGP_NODE_SCHEDULE_FOR_INSTALL);
1785-
if (table && table->afi == AFI_L2VPN && table->safi == SAFI_EVPN)
1785+
if (table->afi == AFI_L2VPN && table->safi == SAFI_EVPN)
17861786
is_evpn = true;
17871787

17881788
if (BGP_DEBUG(zebra, ZEBRA))

0 commit comments

Comments
 (0)