summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-01-05 09:59:00 +0100
committerDavid S. Miller <davem@davemloft.net>2009-01-05 09:59:00 +0100
commit7945cc6464a4db0caf6dfacdfe05806051c4cb7b (patch)
tree8bcd5f9cb276229f1b25844249a4243b6f95f656 /net/sched
parenttcp: don't mask EOF and socket errors on nonblocking splice receive (diff)
downloadlinux-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 'net/sched')
0 files changed, 0 insertions, 0 deletions