[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-stable] [PATCH 04/38] rdma: silly ipv6 bugfix
From: |
Michael Roth |
Subject: |
[Qemu-stable] [PATCH 04/38] rdma: silly ipv6 bugfix |
Date: |
Wed, 25 Sep 2013 07:57:32 -0500 |
From: "Michael R. Hines" <address@hidden>
My bad - but it's very important for us to warn the user that
IPv6 is broken on RoCE in linux right now, until linux releases
a fixed version.
Signed-off-by: Michael R. Hines <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
(cherry picked from commit c89aa2f1851b08c3efa8a1070c0a6b9a36e1227f)
Signed-off-by: Michael Roth <address@hidden>
---
migration-rdma.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/migration-rdma.c b/migration-rdma.c
index 3d1266f..f5e75d6 100644
--- a/migration-rdma.c
+++ b/migration-rdma.c
@@ -920,9 +920,11 @@ static int qemu_rdma_resolve_host(RDMAContext *rdma, Error
**errp)
ret = rdma_resolve_addr(rdma->cm_id, NULL, e->ai_dst_addr,
RDMA_RESOLVE_TIMEOUT_MS);
if (!ret) {
- ret = qemu_rdma_broken_ipv6_kernel(errp, rdma->cm_id->verbs);
- if (ret) {
- continue;
+ if (e->ai_family == AF_INET6) {
+ ret = qemu_rdma_broken_ipv6_kernel(errp, rdma->cm_id->verbs);
+ if (ret) {
+ continue;
+ }
}
goto route;
}
--
1.7.9.5
- [Qemu-stable] Patch Round-up for stable 1.6.1, freeze on 2013-09-30, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 03/38] target-ppc: fix bit extraction for FPBF and FPL, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 02/38] gdbstub: Fix gdb_register_coprocessor() register counting, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 01/38] block: ensure bdrv_drain_all() works during bdrv_delete(), Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 06/38] usb/dev-hid: Modified usb-tablet category from Misc to Input, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 05/38] scripts/qapi.py: Avoid syntax not supported by Python 2.4, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 04/38] rdma: silly ipv6 bugfix,
Michael Roth <=
- [Qemu-stable] [PATCH 07/38] scsi: Fix scsi_bus_legacy_add_drive() scsi-generic with serial, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 09/38] pseries: Fix stalls on hypervisor virtual console, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 10/38] virtio: virtqueue_get_avail_bytes: fix desc_pa when loop over the indirect descriptor table, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 08/38] pc: fix regression for 64 bit PCI memory, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 11/38] xhci: fix endpoint interval calculation, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 15/38] adlib: sort offsets in portio registration, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 14/38] target-i386: fix disassembly with PAE=1, PG=0, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 13/38] block: expect errors from bdrv_co_is_allocated, Michael Roth, 2013/09/25