Message ID | 1326894249.2316.8.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
* Eric Dumazet
> Following patch seems to help for me, please test it ;)
Looks very good! I uploaded a PCAP to the bug report:
https://bugzilla.kernel.org/show_bug.cgi?id=42595#c7
Le mercredi 18 janvier 2012 à 15:20 +0100, Tore Anderson a écrit : > * Eric Dumazet > > > Following patch seems to help for me, please test it ;) > > Looks very good! I uploaded a PCAP to the bug report: > > https://bugzilla.kernel.org/show_bug.cgi?id=42595#c7 > Thanks It seems that if you try to have the default ethtool settings (tso, gso, tx checksum ... on), transfert is very slow... I am investigating, but I suspect that if dst_allfrag() is true, we must disable gso as well. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index d97e071..92ea301 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c @@ -791,6 +791,10 @@ slow_path_clean: } slow_path: + if ((skb->ip_summed == CHECKSUM_PARTIAL) && + skb_checksum_help(skb)) + goto fail; + left = skb->len - hlen; /* Space per frame */ ptr = hlen; /* Where to start from */