diff options
author | flyingeagle23 <wang.hui56@zte.com.cn> | 2017-04-26 20:06:52 +0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-04-27 07:30:17 +0000 |
commit | e8146b02ce4982036128f714ffca311e895dd02a (patch) | |
tree | 1095b05482f412f87a9ffc550a98cb5bf46e057c /src/vnet | |
parent | bed5489a4eb109efe91dac8d259a03b1834b0db8 (diff) |
[VPP-710] tcp TCP_TIMER_ESTABLISH timeout_handler occur segment fault
Change-Id: Ie43b8f1c91600d44dff67e9348fb2fe83efc60c2
Signed-off-by: flyingeagle23 <wang.hui56@zte.com.cn>
Diffstat (limited to 'src/vnet')
-rwxr-xr-x[-rw-r--r--] | src/vnet/tcp/tcp_debug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/tcp/tcp_debug.h b/src/vnet/tcp/tcp_debug.h index eaca672c..ecbf7887 100644..100755 --- a/src/vnet/tcp/tcp_debug.h +++ b/src/vnet/tcp/tcp_debug.h @@ -337,7 +337,8 @@ typedef enum _tcp_dbg_evt #define TCP_EVT_TIMER_POP_HANDLER(_tc_index, _timer_id, ...) \ { \ tcp_connection_t *_tc; \ - if (_timer_id == TCP_TIMER_RETRANSMIT_SYN) \ + if (_timer_id == TCP_TIMER_RETRANSMIT_SYN \ + || _timer_id == TCP_TIMER_ESTABLISH) \ { \ _tc = tcp_half_open_connection_get (_tc_index); \ } \ |