From: "Jan Beulich" Subject: [PATCH] linux: fix native build Date: Mon, 24 Apr 2006 15:40:34 +0200 Message-ID: <444CF172.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartF7D2F242.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartF7D2F242.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Add a return statement to the non-Xen version of skb_checksum_setup. Signed-off-by: Jan Beulich --=__PartF7D2F242.0__= Content-Type: text/plain; name="xenlinux-native-skb_checksum_setup.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xenlinux-native-skb_checksum_setup.patch" Index: head-2006-04-24/net/core/dev.c =================================================================== --- head-2006-04-24.orig/net/core/dev.c 2006-04-24 11:43:47.000000000 +0200 +++ head-2006-04-24/net/core/dev.c 2006-04-24 15:20:29.607447864 +0200 @@ -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 --=__PartF7D2F242.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__PartF7D2F242.0__=--