Gitweb:
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4381ca3c23b07ba5b567f72325003020ddca0341
Commit: 4381ca3c23b07ba5b567f72325003020ddca0341
Parent: 5f17c70fe6d0b8562bf396f7e5638f243ebe4da8
Author: Al Viro <[EMAIL PROTECTED]>
AuthorDate: Sun Jul 15 21:00:11 2007 +0100
Committer: Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sun Jul 15 16:40:51 2007 -0700
fix return type of skb_checksum_complete()
It returns __sum16, not unsigned int
Signed-off-by: Al Viro <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
include/linux/skbuff.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 9391e4a..ce25643 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -1639,7 +1639,7 @@ static inline int skb_csum_unnecessary(const struct
sk_buff *skb)
* if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the
* hardware has already verified the correctness of the checksum.
*/
-static inline unsigned int skb_checksum_complete(struct sk_buff *skb)
+static inline __sum16 skb_checksum_complete(struct sk_buff *skb)
{
return skb_csum_unnecessary(skb) ?
0 : __skb_checksum_complete(skb);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html