tcp: handle fin+rst+syn in closing state 12/21212/2
authorFlorin Coras <fcoras@cisco.com>
Mon, 12 Aug 2019 02:49:05 +0000 (19:49 -0700)
committerDave Barach <openvpp@barachs.net>
Mon, 12 Aug 2019 16:45:29 +0000 (16:45 +0000)
Type: fix

Change-Id: I32d4d4a5de04e89087f4ab4a5c425eda572932a8
Signed-off-by: Florin Coras <fcoras@cisco.com>
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 */