Skip to contentSkip to conversation

linux: fix native build

PATCH New Jan Beulich 1 participant 1 message Apr 24, 2006 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux: fix native build

Add a return statement to the non-Xen version of skb_checksum_setup.

net/core/dev.c +1 -1
Index: head-2006-04-24/net/core/dev.c
===================================================================
@@ -1253,7 +1253,7 @@ out:
 	return -EPROTO;
 }
 #else
-inline int skb_checksum_setup(struct sk_buff *skb) {}
+inline int skb_checksum_setup(struct sk_buff *skb) { return 0; }
 #endif
 
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel