summaryrefslogtreecommitdiffstats
path: root/src/vnet/feature/feature.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-04-09 20:59:53 +0200
committerDamjan Marion <damarion@cisco.com>2018-04-09 21:09:21 +0200
commit13adc3d48d562b13422259d8c7ac411fb43c7e8b (patch)
tree2b2e379fbd0c964a0773a3aa42ad6ee9b0cbf368 /src/vnet/feature/feature.h
parent87dad11c8717735479e57cf6c065c7a7963c3aa3 (diff)
features: don't break linked list, create separate one for arc
We need to keep original linked list so destructire can remove entries. Change-Id: I5ff5ca0e1a417d88707255207725bba46433c943 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/feature/feature.h')
-rw-r--r--src/vnet/feature/feature.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/feature/feature.h b/src/vnet/feature/feature.h
index 70a456ee7c1..f6b1d12b055 100644
--- a/src/vnet/feature/feature.h
+++ b/src/vnet/feature/feature.h
@@ -43,7 +43,7 @@ typedef clib_error_t *(vnet_feature_enable_disable_function_t)
typedef struct _vnet_feature_registration
{
/** next registration in list of all registrations*/
- struct _vnet_feature_registration *next;
+ struct _vnet_feature_registration *next, *next_in_arc;
/** Feature arc name */
char *arc_name;
/** Graph node name */