commit | c5562bde48571ce4fa5a8edf8c1ae2e6f6a5ff6b | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Jan 26 11:02:42 2011 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Jan 26 11:02:42 2011 +0100 |
tree | c081843429292a488b54b67c70470ae013c4e298 | |
parent | 44f848b086d9143a53d3209df5820f801036420f [diff] |
sctp: Close the socket if we get <= 0 as a result for sctp_rcvmsg The manpage says that -1 is the indication for error but on 2.6.12 we just ended up in a infinite loop as select shows the socket as readable but a recvmsg does not give any data.