diff options
author | Olaf Kirch <olaf.kirch@oracle.com> | 2007-04-21 05:08:15 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 05:29:28 (GMT) |
commit | 6e66aa15d8873ae7418d5afc6476daec466ff93b (patch) | |
tree | 050b3e9d1533d34fc151ffead0119d13b75fdcb0 /net/sunrpc | |
parent | 305f2aa18214555e611ad05e586dd385e64ab665 (diff) | |
download | linux-fsl-qoriq-6e66aa15d8873ae7418d5afc6476daec466ff93b.tar.xz |
[IrDA] af_irda: Silence kernel message in irda_recvmsg_stream
This patch silences an IRDA_ASSERT in irda_recvmsg_stream, as described in
http://bugzilla.kernel.org/show_bug.cgi?id=7512 irda_disconnect_indication
would set sk->sk_err to ECONNRESET, and a subsequent call to recvmsg
would print an irritating kernel message and return -1.
When a connected socket is closed by the peer, recvmsg should return 0
rather than an error. This patch fixes this.
Signed-off-by: Olaf Kirch <olaf.kirch@oracle.com>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions