]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Small performance improvement for garbage collection
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 11 Sep 2017 15:12:03 +0000 (11:12 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 11 Sep 2017 15:12:03 +0000 (11:12 -0400)
commitc9abf5584a4691818b4c76e59d569e67fb34314e
tree6c0c61a23038ece95adb70ac8554560ba3518f25
parent953d97fc4aef0c7715e8d42d7d52ebc18d873ac6
zebra: Small performance improvement for garbage collection

There is no need to retrieve the zvrf *unless* we are doing
debugs.  So move the retrieval under the debug statement.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_rib.c