diff options
author | Dave Barach <dave@barachs.net> | 2018-11-26 11:04:45 -0500 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-11-26 19:52:42 +0000 |
commit | a25def7807fb46bd48462be3ec5c598fc79e2a13 (patch) | |
tree | ab66f41502fe6bac473274d99cf0af6ff51de919 /src/vnet/devices/devices.c | |
parent | 37f44563637d2fa2fe454fd8c100958ec9b7a754 (diff) |
Add a feature arc consistency check
Verify that last node in the computed feature order matches
reality. This check doesn't make sense in all cases, so we skip it if
the newly-added vnet_feature_arc_registration_t ".last_in_arc" datum
is a NULL pointer.
Change-Id: Ia99c3e2b2da2e4780a7d5bc71670c5742a66fef2
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/devices/devices.c')
-rw-r--r-- | src/vnet/devices/devices.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/devices/devices.c b/src/vnet/devices/devices.c index 99011dabc7a..e78c5cbe45b 100644 --- a/src/vnet/devices/devices.c +++ b/src/vnet/devices/devices.c @@ -66,6 +66,7 @@ VNET_FEATURE_ARC_INIT (device_input, static) = { .arc_name = "device-input", .start_nodes = VNET_FEATURES ("device-input"), + .last_in_arc = "ethernet-input", .arc_index_ptr = &feature_main.device_input_feature_arc_index, }; |