aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vlib/buffer.h1
-rw-r--r--src/vnet/session/transport_types.h3
2 files changed, 2 insertions, 2 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);
}
diff --git a/src/vnet/session/transport_types.h b/src/vnet/session/transport_types.h
index 1e19798348f..b39a07cd3de 100644
--- a/src/vnet/session/transport_types.h
+++ b/src/vnet/session/transport_types.h
@@ -20,7 +20,8 @@
#include <vnet/ip/ip.h>
#include <vnet/tcp/tcp_debug.h>
-#define TRANSPORT_MAX_HDRS_LEN 100 /* Max number of bytes for headers */
+#define TRANSPORT_MAX_HDRS_LEN 140 /* Max number of bytes for headers */
+
typedef enum transport_dequeue_type_
{