diff options
author | David S. Miller <davem@davemloft.net> | 2009-01-05 09:59:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-05 09:59:00 +0100 |
commit | 7945cc6464a4db0caf6dfacdfe05806051c4cb7b (patch) | |
tree | 8bcd5f9cb276229f1b25844249a4243b6f95f656 /mm | |
parent | tcp: don't mask EOF and socket errors on nonblocking splice receive (diff) | |
download | linux-7945cc6464a4db0caf6dfacdfe05806051c4cb7b.tar.xz linux-7945cc6464a4db0caf6dfacdfe05806051c4cb7b.zip |
tcp: Kill extraneous SPLICE_F_NONBLOCK checks.
In splice TCP receive, the SPLICE_F_NONBLOCK flag is used
to compute the "timeo" value. So checking it again inside
of the main receive loop to trigger -EAGAIN processing is
entirely unnecessary.
Noticed by Jarek P. and Lennert Buytenhek.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions