diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 3aa237c99..6f2db5ac2 100755 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c @@ -760,7 +760,9 @@ int inet_accept(struct socket *sock, struct socket *newsock, int flags, sock_rps_record_flow(sk2); WARN_ON(!((1 << sk2->sk_state) & (TCPF_ESTABLISHED | TCPF_SYN_RECV | - TCPF_CLOSE_WAIT | TCPF_CLOSE))); + TCPF_FIN_WAIT1 | TCPF_FIN_WAIT2 | + TCPF_CLOSING | TCPF_CLOSE_WAIT | + TCPF_CLOSE))); sock_graft(sk2, newsock);