]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/ipvs/ip_vs_core.c
[NET]: Annotate callers of csum_fold() in net/*
[net-next-2.6.git] / net / ipv4 / ipvs / ip_vs_core.c
index 1445bb47fea4bcb6264a6b48de8cc7a4632e671b..fac2dffd667203ad7561b5d4b3994a2c7dbd3e54 100644 (file)
@@ -538,7 +538,7 @@ static unsigned int ip_vs_post_routing(unsigned int hooknum,
 
 u16 ip_vs_checksum_complete(struct sk_buff *skb, int offset)
 {
-       return (u16) csum_fold(skb_checksum(skb, offset, skb->len - offset, 0));
+       return csum_fold(skb_checksum(skb, offset, skb->len - offset, 0));
 }
 
 static inline struct sk_buff *