www.usr.com/support/gpl/USR9113_release1.0.tar.gz
[bcm963xx.git] / kernel / linux / net / ipv4 / ip_output.c
index 3301680..83497d6 100755 (executable)
@@ -5,7 +5,7 @@
  *
  *             The Internet Protocol (IP) output module.
  *
- * Version:    $Id: ip_output.c,v 1.1.1.1 2005/04/29 01:44:09 echo Exp $
+ * Version:    $Id: ip_output.c,v 1.100 2002/02/01 22:01:03 davem Exp $
  *
  * Authors:    Ross Biro, <bir7@leland.Stanford.Edu>
  *             Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
@@ -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);