1ae438b
--- xen-4.5.1/tools/qemu-xen-traditional/hw/e1000.c.orig	2015-06-09 16:32:24.000000000 +0100
1ae438b
+++ xen-4.5.1/tools/qemu-xen-traditional/hw/e1000.c	2015-09-26 17:16:36.406544380 +0100
1ae438b
@@ -461,7 +461,8 @@
1ae438b
                 memmove(tp->data, tp->header, hdr);
1ae438b
                 tp->size = hdr;
1ae438b
             }
1ae438b
-        } while (split_size -= bytes);
1ae438b
+            split_size -= bytes;
1ae438b
+        } while (bytes && split_size);
1ae438b
     } else if (!tp->tse && tp->cptse) {
1ae438b
         // context descriptor TSE is not set, while data descriptor TSE is set
1ae438b
         DBGOUT(TXERR, "TCP segmentaion Error\n");