]> err.no Git - linux-2.6/blobdiff - net/ipv4/netfilter/ipt_TCPMSS.c
[IPV4]: Fix refcount damaging in net/ipv4/route.c
[linux-2.6] / net / ipv4 / netfilter / ipt_TCPMSS.c
index 7b84a254440e79db82680e29e977367a887af718..8db70d6908c33947917babc2c6cf2df11ce871a3 100644 (file)
@@ -58,7 +58,7 @@ ipt_tcpmss_target(struct sk_buff **pskb,
        unsigned int i;
        u_int8_t *opt;
 
-       if (!skb_ip_make_writable(pskb, (*pskb)->len))
+       if (!skb_make_writable(pskb, (*pskb)->len))
                return NF_DROP;
 
        if ((*pskb)->ip_summed == CHECKSUM_HW &&
@@ -190,7 +190,6 @@ ipt_tcpmss_target(struct sk_buff **pskb,
               newmss);
 
  retmodified:
-       (*pskb)->nfcache |= NFC_UNKNOWN | NFC_ALTERED;
        return IPT_CONTINUE;
 }