From 13adc3d48d562b13422259d8c7ac411fb43c7e8b Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Mon, 9 Apr 2018 20:59:53 +0200 Subject: 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 --- src/vnet/feature/feature.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/feature/feature.h') 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 */ -- cgit 1.2.3-korg