TCP offloading is more fucking broken than I could have ever imagined
authorQuentin Smith <quentin@mit.edu>
Sun, 2 Jan 2011 06:07:39 +0000 (01:07 -0500)
committerQuentin Smith <quentin@mit.edu>
Sun, 2 Jan 2011 06:07:39 +0000 (01:07 -0500)
debian/changelog
vif-invirtroute

index 6b52d86..57ee1b5 100644 (file)
@@ -1,3 +1,10 @@
+invirt-xen-config (0.0.33) unstable; urgency=low
+
+  * If we don't turn off offloading for the vif interface, the guest
+    kernel will do stupid things like _drop packets without a checksum_.
+
+ -- Quentin Smith <quentin@mit.edu>  Sun, 02 Jan 2011 01:07:11 -0500
+
 invirt-xen-config (0.0.32) unstable; urgency=low
 
   * Use a bridge to connect the vif and tap interfaces for HVMs; this
index f473ac9..e5497b3 100755 (executable)
@@ -46,7 +46,7 @@ case "$command" in
         echo 1 >/proc/sys/net/ipv4/conf/${brname}/proxy_arp
         echo 1 >/proc/sys/net/ipv4/conf/${brname}/rp_filter
         xenstore-write "$XENBUS_PATH/feature-gso-tcpv4" 0
-        ethtool -K ${vif} tso off
+        ethtool -K ${vif} tx off
         ipcmd='add'
         cmdprefix=''
         ;;