WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Add a return statement to the non-Xen version of skb_che

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Add a return statement to the non-Xen version of skb_checksum_setup.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 25 Apr 2006 11:22:10 +0000
Delivery-date: Tue, 25 Apr 2006 04:23:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 16bdb9ecb3297b2bc1500c7250652ccb2b9f5ea9
# Parent  57e7b96139e7206e22decd18f606da4481d4ebb3
Add a return statement to the non-Xen version of skb_checksum_setup.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

diff -r 57e7b96139e7 -r 16bdb9ecb329 linux-2.6-xen-sparse/net/core/dev.c
--- a/linux-2.6-xen-sparse/net/core/dev.c       Tue Apr 25 08:56:01 2006 +0100
+++ b/linux-2.6-xen-sparse/net/core/dev.c       Tue Apr 25 09:02:53 2006 +0100
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Add a return statement to the non-Xen version of skb_checksum_setup., Xen patchbot -unstable <=