diff options
| author | Mitesh Kanjariya <mitesh@cumulusnetworks.com> | 2018-02-27 02:47:36 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-27 02:47:36 -0800 |
| commit | 00cbfad6de99dd70df21cb43f624e364eb0d0f02 (patch) | |
| tree | 2b10d7793db2b0ee4ba6e06811348cf1c61578d5 /zebra/zebra_rib.c | |
| parent | f487dcaf74c9bd7a716a749d15281d5b92d363d4 (diff) | |
| parent | ac3133a35d340a765be1518c2669b979e39fbe66 (diff) | |
Merge branch 'master' into evpn-bug-fixes
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 967bc92850..b5ce17d9f8 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -1150,7 +1150,8 @@ void rib_uninstall_kernel(struct route_node *rn, struct route_entry *re) */ hook_call(rib_update, rn, "uninstalling from kernel"); kernel_route_rib(rn, p, src_p, re, NULL); - zvrf->removals++; + if (zvrf) + zvrf->removals++; return; } |
