public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix COMPAT_csum_offset #endif in virtio_net.c
@ 2008-08-25 12:42 Mark Pulford
  2008-08-25 12:45 ` Mark Pulford
  2008-09-10 17:35 ` Mark McLoughlin
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Pulford @ 2008-08-25 12:42 UTC (permalink / raw)
  To: kvm

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 <mark@kyne.com.au>

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-13  5:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-25 12:42 [PATCH] Fix COMPAT_csum_offset #endif in virtio_net.c Mark Pulford
2008-08-25 12:45 ` Mark Pulford
2008-09-10 17:35 ` Mark McLoughlin
2008-09-13  5:05   ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox