From: Eric Dumazet <eduma...@google.com> Date: Sat, 7 Jul 2018 23:15:56 -0700
> In both tcp_splice_read() and tcp_recvmsg(), we already test > sock_flag(sk, SOCK_DONE) right before evaluating sk->sk_state, > so "!sock_flag(sk, SOCK_DONE)" is always true. > > Signed-off-by: Eric Dumazet <eduma...@google.com> Wow, I think this code has been like this since the initial GIT import. Applied, thanks.