Thread (7 messages) flat view 7 messages, 3 authors, 2016-02-06

Re: [PATCH net-next] tcp: fastopen: call tcp_fin() if FIN present in SYNACK

From: David Miller <davem@davemloft.net>
Date: 2016-02-06 21:56:55

From: Eric Dumazet <redacted>
Date: Sat, 06 Feb 2016 11:16:28 -0800
From: Eric Dumazet <edumazet@google.com>

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>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help