summaryrefslogtreecommitdiffstats
path: root/src/vlib
diff options
context:
space:
mode:
authorSrikanth Akula <srakula@cisco.com>2019-11-18 11:56:51 -0800
committerFlorin Coras <florin.coras@gmail.com>2019-11-18 23:48:19 +0000
commit93e060aee441e98adf44a72149679a838d7084f3 (patch)
treee9f169e6744f85974bcdce56c83f14aad67e94ab /src/vlib
parente140d5d0255b80f8dda945daf7202b5698d81d9b (diff)
session: Increasing the Header lengthe size
Type: feature For some deployments(mobile traffic) we need few extra bytes of space Signed-off-by: Srikanth Akula <srakula@cisco.com> Change-Id: I3367561dc23dbb8b266dea583e23b9430fd7dcab
Diffstat (limited to 'src/vlib')
-rw-r--r--src/vlib/buffer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vlib/buffer.h b/src/vlib/buffer.h
index 8ca198de68e..cfe7d6487b6 100644
--- a/src/vlib/buffer.h
+++ b/src/vlib/buffer.h
@@ -349,7 +349,6 @@ vlib_buffer_push_uninit (vlib_buffer_t * b, u8 size)
always_inline void *
vlib_buffer_make_headroom (vlib_buffer_t * b, u8 size)
{
- ASSERT (b->current_data + VLIB_BUFFER_PRE_DATA_SIZE >= size);
b->current_data += size;
return vlib_buffer_get_current (b);
}