]> err.no Git - linux-2.6/blobdiff - net/xfrm/xfrm_algo.c
[PATCH] pipe: remove redundant fifo_poll abstraction
[linux-2.6] / net / xfrm / xfrm_algo.c
index 080aae243ce091d134b837799c9ae7837bcdf0bb..2f4531fcaca23d43e8b49702b84dd5288acedf1e 100644 (file)
@@ -698,7 +698,7 @@ int skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer)
                                return -ENOMEM;
 
                        if (skb1->sk)
-                               skb_set_owner_w(skb, skb1->sk);
+                               skb_set_owner_w(skb2, skb1->sk);
 
                        /* Looking around. Are we still alive?
                         * OK, link new skb, drop old one */