[libvirt] [Qemu-devel] ipv6 slirp network
Samuel Thibault
samuel.thibault at gnu.org
Mon Jul 21 14:51:19 UTC 2014
Samuel Thibault, le Mon 21 Jul 2014 16:47:09 +0200, a écrit :
> Samuel Thibault, le Mon 21 Jul 2014 16:29:34 +0200, a écrit :
> > Vasiliy Tolstov, le Mon 21 Jul 2014 18:19:17 +0400, a écrit :
> > > 2014-07-21 16:06 GMT+04:00 Samuel Thibault <samuel.thibault at gnu.org>:
> > > > I have pushed it to http://dept-info.labri.fr/~thibault/qemu-ipv6 , in
> > > > the tosubmit branch.
> > >
> > >
> > > Inside packer (i'm try to build some centos 7 boxes) i have errors
> > > Qemu stderr: qemu-system-x86_64: slirp/tcp_input.c:1543: tcp_mss:
> > > Assertion `0' failed.
> >
> > Uh?! Does the switch statement properly have both AF_INET and AF_INET6
> > cases?
> >
> > A gdb backtrace would also be useful.
>
> Mmm, I guess this is coming through tcp_connect(). Could you try the
> attached patch?
Sorry, I should have tested the build before sending, here it is.
Samuel
-------------- next part --------------
diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c
index a1f060b..7fa6173 100644
--- a/slirp/tcp_subr.c
+++ b/slirp/tcp_subr.c
@@ -439,6 +439,7 @@ void tcp_connect(struct socket *inso)
return;
}
so->lhost = inso->lhost;
+ so->so_ffamily = inso->so_ffamily;
}
tcp_mss(sototcpcb(so), 0);
More information about the libvir-list
mailing list