[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070420.220900.45154094.davem@davemloft.net>
Date: Fri, 20 Apr 2007 22:09:00 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: samuel@...tiz.org
Cc: netdev@...r.kernel.org, irda-users@...ts.sourceforge.net,
olaf.kirch@...cle.com
Subject: Re: [PATCH 2/7] [IrDA] af_irda: Silence kernel message in
irda_recvmsg_stream
From: samuel@...tiz.org
Date: Thu, 19 Apr 2007 00:32:04 +0300
> From: Olaf Kirch <olaf.kirch@...cle.com>
>
> 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@...cle.com>
> Signed-off-by: Samuel Ortiz <samuel@...tiz.org>
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists