I should have stated that I am running 2009.

On Sun, Nov 22, 2020 at 8:48 AM Bill Vaughan via lists.fd.io <billvaughan=
gmail....@lists.fd.io> wrote:

> Hi all,
>
> I am working on a project where I need to initiate TCP connections from
> the VPP session layer. In my overnight test runs I am seeing a TCP dispatch
> error that I am trying to track down. This happens after thousands of test
> runs. It looks like I am able to issue a Connect call but the SYN-ACK from
> the other side is coming back to a TCP conn that is in a TIME_WAIT state.
>
> tcp_input_dispatch_buffer:2808: tcp conn 138 disp error state TIME_WAIT
> flags 0x12 SYN ACK
>
>
> I wanted to get some TCP state machine debug data but it appears the
> tcp_debug macros are not hooked up.  I have enabled all of the compile time
> debug flags in tcp_debug.h but tcp_evt_track_register() is not getting
> called and this causes an assert in the elog code. Looking through the TCP
> connection setup code I don't see where the debug handler macros are
> getting called (TCP_EVT_OPEN_HANDLER, TCP_EVT_CLOSE_HANDLER, etc).  I tried
> adding TCP_EVT_OPEN_HANDLER to tcp_session_open()
> and tcp_evt_track_register() was hit, but then it asserted somewhere else.
>
> Before I spend too much more time going down this rabbit hole, I wanted to
> see if anyone knows why the debug macros are not hooked up.
>
> Thanks,
> -Bill
>
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18117): https://lists.fd.io/g/vpp-dev/message/18117
Mute This Topic: https://lists.fd.io/mt/78430523/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to