All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL] slirp: send icmp6 errors when UDP send failed
@ 2016-03-20 14:08 Samuel Thibault
  2016-03-20 14:08 ` Samuel Thibault
  2016-03-21  9:49 ` Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: Samuel Thibault @ 2016-03-20 14:08 UTC (permalink / raw)
  To: qemu-devel, peter.maydell; +Cc: Samuel Thibault, jan.kiszka

The following changes since commit 4829e0378dfb91d55af9dfd741bd09e8f2c4f91a:

  Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2016-03-18' into staging (2016-03-18 17:18:41 +0000)

are available in the git repository at:

  http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault-udp-error

for you to fetch changes up to 35ddb636fa252e92bced3dd3dc240f7bce3ad051:

  slirp: send icmp6 errors when UDP send failed (2016-03-20 14:52:32 +0100)

----------------------------------------------------------------
slirp: send icmp6 errors when UDP send failed

----------------------------------------------------------------
Samuel Thibault (1):
      slirp: send icmp6 errors when UDP send failed

 slirp/udp6.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [PULL] slirp: send icmp6 errors when UDP send failed
  2016-03-20 14:08 [Qemu-devel] [PULL] slirp: send icmp6 errors when UDP send failed Samuel Thibault
@ 2016-03-20 14:08 ` Samuel Thibault
  2016-03-21  9:49 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Samuel Thibault @ 2016-03-20 14:08 UTC (permalink / raw)
  To: qemu-devel, peter.maydell; +Cc: Samuel Thibault, jan.kiszka

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
---
 slirp/udp6.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/slirp/udp6.c b/slirp/udp6.c
index 60a91c9..a23026f 100644
--- a/slirp/udp6.c
+++ b/slirp/udp6.c
@@ -113,8 +113,7 @@ void udp6_input(struct mbuf *m)
         m->m_data -= iphlen;
         *ip = save_ip;
         DEBUG_MISC((dfd, "udp tx errno = %d-%s\n", errno, strerror(errno)));
-        /* TODO: ICMPv6 error */
-        /*icmp_error(m, ICMP_UNREACH,ICMP_UNREACH_NET, 0,strerror(errno));*/
+        icmp6_send_error(m, ICMP6_UNREACH, ICMP6_UNREACH_NO_ROUTE);
         goto bad;
     }
 
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PULL] slirp: send icmp6 errors when UDP send failed
  2016-03-20 14:08 [Qemu-devel] [PULL] slirp: send icmp6 errors when UDP send failed Samuel Thibault
  2016-03-20 14:08 ` Samuel Thibault
@ 2016-03-21  9:49 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2016-03-21  9:49 UTC (permalink / raw)
  To: Samuel Thibault; +Cc: J. Kiszka, QEMU Developers

On 20 March 2016 at 14:08, Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
> The following changes since commit 4829e0378dfb91d55af9dfd741bd09e8f2c4f91a:
>
>   Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2016-03-18' into staging (2016-03-18 17:18:41 +0000)
>
> are available in the git repository at:
>
>   http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault-udp-error
>
> for you to fetch changes up to 35ddb636fa252e92bced3dd3dc240f7bce3ad051:
>
>   slirp: send icmp6 errors when UDP send failed (2016-03-20 14:52:32 +0100)
>
> ----------------------------------------------------------------
> slirp: send icmp6 errors when UDP send failed

This one doesn't seem to have been on the list before either.

thanks
-- PMM

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-21  9:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-20 14:08 [Qemu-devel] [PULL] slirp: send icmp6 errors when UDP send failed Samuel Thibault
2016-03-20 14:08 ` Samuel Thibault
2016-03-21  9:49 ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.