Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
21bb9af
)
tcp: drop handshake ack with fin set
55/16455/3
author
Florin Coras
<fcoras@cisco.com>
Thu, 13 Dec 2018 07:31:33 +0000
(23:31 -0800)
committer
Dave Barach
<openvpp@barachs.net>
Thu, 13 Dec 2018 14:41:22 +0000
(14:41 +0000)
Change-Id: I529c34235ad2b0e4c730959bb1b8c9d50a83738c
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/tcp/tcp_input.c
patch
|
blob
|
history
diff --git
a/src/vnet/tcp/tcp_input.c
b/src/vnet/tcp/tcp_input.c
index
fc1aff4
..
94dcaaf
100644
(file)
--- a/
src/vnet/tcp/tcp_input.c
+++ b/
src/vnet/tcp/tcp_input.c
@@
-2727,7
+2727,7
@@
tcp46_rcv_process_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
}
/* Make sure the ack is exactly right */
- if (tc0->rcv_nxt != vnet_buffer (b0)->tcp.seq_number)
+ if (tc0->rcv_nxt != vnet_buffer (b0)->tcp.seq_number
|| is_fin0
)
{
error0 = TCP_ERROR_SEGMENT_INVALID;
tcp_send_reset_w_pkt (tc0, b0, is_ip4);