Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
56cefc8
)
interface: do not update runtime data if input node is not set
91/41491/1
author
Damjan Marion
<
[email protected]
>
Wed, 28 Aug 2024 11:02:09 +0000
(13:02 +0200)
committer
Damjan Marion
<
[email protected]
>
Wed, 28 Aug 2024 11:07:41 +0000
(13:07 +0200)
Type: improvement
Change-Id: Id81d1ac23505a74d3bc6f5d7eddca2be20d39f45
Signed-off-by: Damjan Marion <
[email protected]
>
src/vnet/interface/runtime.c
patch
|
blob
|
history
diff --git
a/src/vnet/interface/runtime.c
b/src/vnet/interface/runtime.c
index
a88a23b
..
6428d5a
100644
(file)
--- 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);