linux/net/irda
Olaf Kirch 6e66aa15d8 [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>
2007-04-25 22:29:28 -07:00
..
ircomm [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
irlan [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
irnet [IrDA]: Calling ppp_unregister_channel() from process context 2007-03-20 00:09:42 -07:00
af_irda.c [IrDA] af_irda: Silence kernel message in irda_recvmsg_stream 2007-04-25 22:29:28 -07:00
discovery.c
irda_device.c
iriap_event.c
iriap.c
irias_object.c
irlap_event.c
irlap_frame.c [SK_BUFF]: Introduce skb_reset_transport_header(skb) 2007-04-25 22:25:15 -07:00
irlap.c
irlmp_event.c
irlmp_frame.c
irlmp.c
irmod.c [IRDA] net/irda/: proper prototypes 2007-02-26 11:42:43 -08:00
irproc.c
irqueue.c [IrDA]: irda lockdep annotation 2007-04-25 22:26:23 -07:00
irsysctl.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
irttp.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
Kconfig
Makefile
parameters.c
qos.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
timer.c
wrapper.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00