diff options
| author | David S. Miller <[email protected]> | 2008-11-05 11:36:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-11-05 11:36:01 +0000 |
| commit | 518a09ef11f8454f4676125d47c3e775b300c6a5 (patch) | |
| tree | a22f9f9de58e91d3287bcd21277e9378de49e18f /net/unix/af_unix.c | |
| parent | netfilter: netns ct: walk netns list under RTNL (diff) | |
| download | kernel-518a09ef11f8454f4676125d47c3e775b300c6a5.tar.gz kernel-518a09ef11f8454f4676125d47c3e775b300c6a5.zip | |
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 <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
