From e849865fb8819a3980658b251a8e24595170d436 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Mon, 17 Jun 2019 12:23:15 +0000 Subject: ip: reassembly-separate feature and custom code This change is made fix a crash, because is_feature flag semantics turn out to be different from "custom app code" semantics. Introduce a flag which custom plugins/apps can use to instead of tying that code to is_feature flag. Change-Id: Ief5898711e68529f9306cfac54c4dc9b3650f9e3 Ticket: N/A Type: fix Fixes: 21aa8f1022590b8b5caf819b4bbd485de0f1dfe5 Signed-off-by: Klement Sekera Signed-off-by: Ole Troan --- src/vnet/buffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vnet/buffer.h') diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h index 7065bd745d0..6738f3cdca8 100644 --- a/src/vnet/buffer.h +++ b/src/vnet/buffer.h @@ -188,8 +188,8 @@ typedef struct /* in/out variables */ struct { - u32 next_index; /* index of next node - ignored if "feature" node */ - u32 error_next_index; /* index of next node if error - ignored if 'feature' node */ + u32 next_index; /* index of next node - used by custom apps */ + u32 error_next_index; /* index of next node if error - used by custom apps */ u16 estimated_mtu; /* estimated MTU calculated during reassembly */ u16 owner_thread_index; }; -- cgit 1.2.3-korg