David S. Miller 518a09ef11 tcp: Fix recvmsg MSG_PEEK influence of blocking behavior.
Vito Caputo noticed that tcp_recvmsg() returns immediately from
partial reads when MSG_PEEK is used.  In particular, this means that
SO_RCVLOWAT is not respected.

Simply remove the test.  And this matches the behavior of several
other systems, including BSD.

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-05 03:36:01 -08:00
..
2008-07-16 20:20:11 -07:00
2008-08-06 02:39:30 -07:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:20:11 -07:00
2008-10-07 08:38:24 +11:00
2008-10-07 08:38:24 +11:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:19:49 -07:00
2008-10-16 11:21:47 -07:00
2008-05-01 08:03:58 -07:00
2008-06-11 21:00:38 -07:00
2008-10-07 14:43:06 -07:00
2008-07-10 16:51:32 -07:00
2008-10-07 14:18:42 -07:00