www.usr.com/support/gpl/USR9113_release1.0.tar.gz
[bcm963xx.git] / kernel / linux / net / ipv4 / ip_output.c
index 5a853aa..83497d6 100755 (executable)
@@ -524,6 +524,9 @@ int ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff*))
                                memcpy(frag->nh.raw, iph, hlen);
                                iph = frag->nh.iph;
                                iph->tot_len = htons(frag->len);
+                               if ( frag->dst )
+                                       atomic_dec(&frag->dst->__refcnt);
+
                                ip_copy_metadata(frag, skb);
                                if (offset == 0)
                                        ip_options_fragment(frag);