diff options
author | Eric Dumazet <edumazet@google.com> | 2016-02-06 11:16:28 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-06 16:49:58 -0500 |
commit | e3e17b773bfe45462b7f3fae20c550025975cb13 (patch) | |
tree | 88f3bed2189c90a3eae7c2dbde31ca614da95e6e /include/net/vxlan.h | |
parent | 9a23ac475cd98a1155ce16a8fab4d28e171c0d9d (diff) | |
download | lwn-e3e17b773bfe45462b7f3fae20c550025975cb13.tar.gz lwn-e3e17b773bfe45462b7f3fae20c550025975cb13.zip |
tcp: fastopen: call tcp_fin() if FIN present in SYNACK
When we acknowledge a FIN, it is not enough to ack the sequence number
and queue the skb into receive queue. We also have to call tcp_fin()
to properly update socket state and send proper poll() notifications.
It seems we also had the problem if we received a SYN packet with the
FIN flag set, but it does not seem an urgent issue, as no known
implementation can do that.
Fixes: 61d2bcae99f6 ("tcp: fastopen: accept data/FIN present in SYNACK message")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/vxlan.h')
0 files changed, 0 insertions, 0 deletions