aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-05-02 02:26:56 +0000
committerDave Barach <openvpp@barachs.net>2020-05-04 14:14:57 +0000
commitb723ccf95ffd8581be15e0752eac2c5f7233b340 (patch)
treeb7c11f450fde566b527115653a4def72ef990f2d /src/vnet
parent7784140f2bd2d5ae44f2be1507ac25f102006155 (diff)
tcp: fix max tx sack blocks upper bound
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I70c63db91c3512fb724bba4762e3ca1e369ca421
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/tcp/tcp_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/tcp/tcp_types.h b/src/vnet/tcp/tcp_types.h
index cc4f4b3df3a..8b599400b8c 100644
--- a/src/vnet/tcp/tcp_types.h
+++ b/src/vnet/tcp/tcp_types.h
@@ -146,7 +146,7 @@ typedef enum tcp_connection_flag_
} tcp_connection_flags_e;
#define TCP_SCOREBOARD_TRACE (0)
-#define TCP_MAX_SACK_BLOCKS 256 /**< Max number of SACK blocks stored */
+#define TCP_MAX_SACK_BLOCKS 255 /**< Max number of SACK blocks stored */
#define TCP_INVALID_SACK_HOLE_INDEX ((u32)~0)
typedef struct _scoreboard_trace_elt