diff options
| author | Eric Dumazet <[email protected]> | 2018-07-08 06:15:56 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-08 08:14:58 +0000 |
| commit | c47078d6a33fd78d882200cdaacbcfcd63318234 (patch) | |
| tree | d8ca13d8919bf0f915a84ebe70050b60761619e4 /tools/testing/selftests/bpf/tcp_server.py | |
| parent | Merge branch 'mlxsw-Spectrum2-acl-prep' (diff) | |
| download | kernel-c47078d6a33fd78d882200cdaacbcfcd63318234.tar.gz kernel-c47078d6a33fd78d882200cdaacbcfcd63318234.zip | |
tcp: remove redundant SOCK_DONE checks
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/tcp_server.py')
0 files changed, 0 insertions, 0 deletions
