]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Kill extraneous SPLICE_F_NONBLOCK checks.
authorDavid S. Miller <davem@davemloft.net>
Mon, 5 Jan 2009 08:59:00 +0000 (00:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jan 2009 08:59:00 +0000 (00:59 -0800)
commite62487469865fa203c032ba8060da0df6aa73c6a
tree8bcd5f9cb276229f1b25844249a4243b6f95f656
parent44c55699d1f89772ca0c0b1a08070910657b420d
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>
net/ipv4/tcp.c