diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-08-05 10:10:37 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-08-06 10:02:53 -0400 |
| commit | f0afc61d58032e1c949728bad776e2046a154c8a (patch) | |
| tree | 28cb6a822b6f176d3548c55d76f6a2bac41cbf59 /zebra/debug.c | |
| parent | 6696b16bf0672ae16e7d1c852c25e4f424721b39 (diff) | |
zebra: short-circuit rib_process when nothing to do
When we are calling rib_process and the route_node
in question has no dest, there is no work to do here
at all. As such we should just return before
attempting to do any other work. This is just a tiny bit
of simplification being done.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/debug.c')
0 files changed, 0 insertions, 0 deletions
