]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/ip_forward.c
ACPI 2.6.26-rc2: Add missing newline to DSDT/SSDT warning message
[linux-2.6-omap-h63xx.git] / net / ipv4 / ip_forward.c
index 9d6d3befd8542c927df4b6f67c5e2b703c87df69..4813c39b438bbf24779086a3eb96b3fdcb6ac2cd 100644 (file)
@@ -85,7 +85,7 @@ int ip_forward(struct sk_buff *skb)
        if (opt->is_strictroute && rt->rt_dst != rt->rt_gateway)
                goto sr_failed;
 
-       if (unlikely(skb->len > dst_mtu(&rt->u.dst) &&
+       if (unlikely(skb->len > dst_mtu(&rt->u.dst) && !skb_is_gso(skb) &&
                     (ip_hdr(skb)->frag_off & htons(IP_DF))) && !skb->local_df) {
                IP_INC_STATS(IPSTATS_MIB_FRAGFAILS);
                icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED,