From: Eric Dumazet <eric.duma...@gmail.com> Date: Sat, 06 Feb 2016 11:16:28 -0800
> From: Eric Dumazet <eduma...@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 <eduma...@google.com> Applied, thanks.