[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.1208290959010.32281@ask.diku.dk>
Date: Wed, 29 Aug 2012 10:02:37 +0200 (CEST)
From: Jesper Dangaard Brouer <hawk@...u.dk>
To: Patrick McHardy <kaber@...sh.net>
Cc: Pablo Neira Ayuso <pablo@...filter.org>,
Netfilter Developers <netfilter-devel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH 02/19] Cleaning up the IPv6 MTU checking in the IPVS xmit
code, by using a common helper function __mtu_check_toobig_v6().
Just a little nitpick.
The original title/subj was:
"ipvs: IPv6 MTU checking cleanup and bugfix"
And the curr/used title/subj were part of the commit text.
On Tue, 28 Aug 2012, Patrick McHardy wrote:
> From: Jesper Dangaard Brouer <brouer@...hat.com>
>
Insert:
Cleaning up the IPv6 MTU checking in the IPVS xmit code, by using a
common helper function __mtu_check_toobig_v6().
> The MTU check for tunnel mode can also use this helper as
> ntohs(old_iph->payload_len) + sizeof(struct ipv6hdr) is qual to
> skb->len. And the 'mtu' variable have been adjusted before
> calling helper.
>
> Notice, this also fixes a bug, as the the MTU check in ip_vs_dr_xmit_v6()
> were missing a check for skb_is_gso().
>
> This bug e.g. caused issues for KVM IPVS setups, where different
> Segmentation Offloading techniques are utilized, between guests,
> via the virtio driver. This resulted in very bad performance,
> due to the ICMPv6 "too big" messages didn't affect the sender.
>
> Signed-off-by: Jesper Dangaard Brouer <brouer@...hat.com>
> Signed-off-by: Patrick McHardy <kaber@...sh.net>
> ---
> net/netfilter/ipvs/ip_vs_xmit.c | 21 +++++++++++++++------
> 1 files changed, 15 insertions(+), 6 deletions(-)
[cut]
Hilsen
Jesper Brouer
--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen
Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists