netfilter: xtables: use percpu rule counters
[firefly-linux-kernel-4.4.55.git] / net / ipv4 / ip_output.c
index f5f5ef1cebd518a1eedf97241bb4f375c94c9690..19d7e43b53704be956bc7ce2a034def74d73a14e 100644 (file)
@@ -549,10 +549,6 @@ int ip_do_fragment(struct sock *sk, struct sk_buff *skb,
 
        hlen = iph->ihl * 4;
        mtu = mtu - hlen;       /* Size of data space */
-#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
-       if (skb->nf_bridge)
-               mtu -= nf_bridge_mtu_reduction(skb);
-#endif
        IPCB(skb)->flags |= IPSKB_FRAG_COMPLETE;
 
        /* When frag_list is given, use it. First, check its validity: