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

2016-02-06 Thread David Miller
From: Eric Dumazet Date: Sat, 06 Feb 2016 11:16:28 -0800 > From: Eric Dumazet > > 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.

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

2016-02-06 Thread Eric Dumazet
From: Eric Dumazet 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 t