|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-changelog
[Xen-changelog] Add a return statement to the non-Xen version of	skb_che 
| # 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 <=
 |  |  | 
  
    |  |  |