diff options
author | Damjan Marion <damarion@cisco.com> | 2024-08-28 13:02:09 +0200 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2024-08-28 13:07:41 +0200 |
commit | 82aa9a63013b685e26be740403fa81f3cbe4c562 (patch) | |
tree | 79df651f7f328a03be5047d64072755bd05eef91 /src | |
parent | 56cefc89e22112071b382fbeb06be839fef1e0ed (diff) |
interface: do not update runtime data if input node is not set
Type: improvement
Change-Id: Id81d1ac23505a74d3bc6f5d7eddca2be20d39f45
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/interface/runtime.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/interface/runtime.c b/src/vnet/interface/runtime.c index a88a23bd4c9..6428d5ab75b 100644 --- a/src/vnet/interface/runtime.c +++ b/src/vnet/interface/runtime.c @@ -72,6 +72,9 @@ vnet_hw_if_update_runtime_data (vnet_main_t *vnm, u32 hw_if_index) clib_bitmap_t *pending_int = 0; int last_int = -1; + if (node_index == 0) + return; + log_debug ("update node '%U' triggered by interface %v", format_vlib_node_name, vm, node_index, hi->name); |