This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / net / ipv6 / xfrm6_output.c
index b06b11c..c9c0722 100644 (file)
@@ -91,14 +91,16 @@ static int xfrm6_tunnel_check_size(struct sk_buff *skb)
        return ret;
 }
 
-int xfrm6_output(struct sk_buff *skb)
+int xfrm6_output(struct sk_buff **pskb)
 {
+       struct sk_buff *skb = *pskb;
        struct dst_entry *dst = skb->dst;
        struct xfrm_state *x = dst->xfrm;
        int err;
        
        if (skb->ip_summed == CHECKSUM_HW) {
-               err = skb_checksum_help(skb, 0);
+               err = skb_checksum_help(pskb, 0);
+               skb = *pskb;
                if (err)
                        goto error_nolock;
        }