aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tcp/tcp_debug.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-12-22 11:39:33 -0800
committerNeale Ranns <nranns@cisco.com>2018-12-24 11:04:48 +0000
commit3c514d5516498c67f313d3bfe62288d4f36fba54 (patch)
tree52d640418b7734dfea6e41fb4517ac0aeec98b28 /src/vnet/tcp/tcp_debug.h
parentbde17bd6ef391766712ae7fbd766371037dfd3de (diff)
tcp: compute seq_end in tcp_input
syn/fin are no longer added to seq_end so they must be considered individually in each state. Change-Id: I5e3047194101c4fca2db9f9ad29a4a6468c397ab Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/tcp/tcp_debug.h')
-rwxr-xr-xsrc/vnet/tcp/tcp_debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/tcp/tcp_debug.h b/src/vnet/tcp/tcp_debug.h
index d125ee84612..5032588ca1e 100755
--- a/src/vnet/tcp/tcp_debug.h
+++ b/src/vnet/tcp/tcp_debug.h
@@ -821,6 +821,7 @@ if (TCP_DEBUG_CC > 1) \
if (tcp_cc_time_to_print_stats (_tc)) \
{ \
TCP_EVT_CC_RTO_STAT_PRINT (_tc); \
+ _tc->c_cc_stat_tstamp = tcp_time_now (); \
} \
}
@@ -844,6 +845,7 @@ if (tcp_cc_time_to_print_stats (_tc)) \
if (tcp_cc_time_to_print_stats (_tc)) \
{ \
TCP_EVT_CC_SND_STAT_PRINT(_tc); \
+ _tc->c_cc_stat_tstamp = tcp_time_now (); \
} \
}