I'am searching the TCP stack of VPP 18.07, from the code the TCP stack don't count the sequence of FIN when it come with some data in payload under passive, which will lead the active close side retransmit FIN, the code as following: tcp46_established_inline { ... /* 8: check the FIN bit */ if (PREDICT_FALSE (is_fin)) { if (vnet_buffer (b0)->tcp.data_len == 0) <--------------when comment this line out, it seems work as expect. tc0->rcv_nxt += 1; ...
I'am not sure whether it's OK to just comment this line out, is there some other places need to change ? BTW I glance at the 19.04 code, it seem there is no this issue, but don't want to upgrade to that at present.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13216): https://lists.fd.io/g/vpp-dev/message/13216 Mute This Topic: https://lists.fd.io/mt/31925450/21656 Mute #vnet: https://lists.fd.io/mk?hashtag=vnet&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-