aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/buffer.h
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2019-06-17 12:23:15 +0000
committerOle Trøan <otroan@employees.org>2019-06-18 08:45:30 +0000
commite849865fb8819a3980658b251a8e24595170d436 (patch)
tree8217f2fc1eb7c3acb99bca4190d278c1cbb832c1 /src/vnet/buffer.h
parent3860a77e9ff1d945259301045db339667c2c2c6d (diff)
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 <ksekera@cisco.com> Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/buffer.h')
-rw-r--r--src/vnet/buffer.h4
1 files changed, 2 insertions, 2 deletions
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;
};