tcp: handle fin+rst+syn in closing state 44/21244/2
authorFlorin Coras <[email protected]>
Mon, 12 Aug 2019 02:49:05 +0000 (19:49 -0700)
committerDave Barach <[email protected]>
Mon, 12 Aug 2019 18:35:16 +0000 (18:35 +0000)
Type: fix
Ticket: VPP-1736

Change-Id: I32d4d4a5de04e89087f4ab4a5c425eda572932a8
Signed-off-by: Florin Coras <[email protected]>
src/vnet/tcp/tcp_input.c

index 504133c..595a76d 100755 (executable)
@@ -3808,6 +3808,8 @@ do {                                                              \
     TCP_ERROR_NONE);
   _(CLOSING, TCP_FLAG_FIN | TCP_FLAG_SYN | TCP_FLAG_ACK,
     TCP_INPUT_NEXT_RCV_PROCESS, TCP_ERROR_NONE);
+  _(CLOSING, TCP_FLAG_FIN | TCP_FLAG_SYN | TCP_FLAG_RST,
+    TCP_INPUT_NEXT_RCV_PROCESS, TCP_ERROR_NONE);
   _(CLOSING, TCP_FLAG_FIN | TCP_FLAG_SYN | TCP_FLAG_RST | TCP_FLAG_ACK,
     TCP_INPUT_NEXT_RCV_PROCESS, TCP_ERROR_NONE);
   /* FIN confirming that the peer (app) has closed */