[NET]: Replace skb_pull/skb_postpull_rcsum with skb_pull_rcsum
[linux-2.6.git] / include / linux / skbuff.h
index 75c963103b9f8baa1200e7c2ef90bbe87e678201..613b9513f8b91789762228cdc84fd2cdc3ef44be 100644 (file)
@@ -1159,12 +1159,14 @@ static inline int skb_linearize(struct sk_buff *skb, gfp_t gfp)
  */
 
 static inline void skb_postpull_rcsum(struct sk_buff *skb,
-                                        const void *start, int len)
+                                     const void *start, unsigned int len)
 {
        if (skb->ip_summed == CHECKSUM_HW)
                skb->csum = csum_sub(skb->csum, csum_partial(start, len, 0));
 }
 
+unsigned char *skb_pull_rcsum(struct sk_buff *skb, unsigned int len);
+
 /**
  *     pskb_trim_rcsum - trim received skb and update checksum
  *     @skb: buffer to trim