aboutsummaryrefslogtreecommitdiff
path: root/crypto/api.c
diff options
context:
space:
mode:
authorOlaf Kirch <olaf.kirch@oracle.com>2007-04-20 22:08:15 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:29:28 -0700
commit6e66aa15d8873ae7418d5afc6476daec466ff93b (patch)
tree050b3e9d1533d34fc151ffead0119d13b75fdcb0 /crypto/api.c
parent305f2aa18214555e611ad05e586dd385e64ab665 (diff)
[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 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions