Fix COMPAT_csum_offset #else/#endif block in virtio_net.c. The #endif
was being output 1 line too early.
Signed-off-by: Mark Pulford <[EMAIL PROTECTED]>
diff --git a/hack-module.awk b/hack-module.awk
index a3275fa..7cb9381 100644
--- a/hack-module.awk
+++ b/hack-module.awk
@@ -134,6 +134,9 @@
print "\t\thdr->csum_start = skb->h.raw - skb->data;";
print "\t\thdr->csum_offset = skb->csum;";
print "#else"
+}
+
+/hdr->csum_offset = skb->csum_offset/ {
need_endif = 1;
}
--
1.5.4.1
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html