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 [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
irda_device.c [NET] IRDA: Fix whitespace errors. 2007-02-10 23:19:47 -08:00
iriap_event.c [IrDA]: Memory allocations cleanups 2006-09-28 18:02:48 -07:00
iriap.c [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
irias_object.c [NET] IRDA: Fix whitespace errors. 2007-02-10 23:19:47 -08:00
irlap_event.c [NET] IRDA: Fix whitespace errors. 2007-02-10 23:19:47 -08:00
irlap_frame.c [SK_BUFF]: Introduce skb_reset_transport_header(skb) 2007-04-25 22:25:15 -07:00
irlap.c [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
irlmp_event.c [NET] IRDA: Fix whitespace errors. 2007-02-10 23:19:47 -08:00
irlmp_frame.c [NET] IRDA: Fix whitespace errors. 2007-02-10 23:19:47 -08:00
irlmp.c [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
irmod.c [IRDA] net/irda/: proper prototypes 2007-02-26 11:42:43 -08:00
irproc.c [NET] IRDA: Fix whitespace errors. 2007-02-10 23:19:47 -08:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parameters.c [NET] IRDA: Fix whitespace errors. 2007-02-10 23:19:47 -08:00
qos.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
timer.c [NET] IRDA: Fix whitespace errors. 2007-02-10 23:19:47 -08:00
wrapper.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00