From: [EMAIL PROTECTED] Date: Thu, 19 Apr 2007 00:32:04 +0300 > From: Olaf Kirch <[EMAIL PROTECTED]> > > 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 <[EMAIL PROTECTED]> > Signed-off-by: Samuel Ortiz <[EMAIL PROTECTED]>
There were some conflicts in this one wrt. the sock_orphan() bug fix we put into mainline recently, but I did my best to resolve it when I applied this to net-2.6.22 You can have a look and verify things when I put up my net-2.6.2 tree later this evening. Thanks. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html