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