[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140127083606.GA30123@breakpoint.cc>
Date: Mon, 27 Jan 2014 09:36:06 +0100
From: Florian Westphal <fw@...len.de>
To: David Miller <davem@...emloft.net>
Cc: fw@...len.de, netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] net: ip, ipv6: handle gso skbs in forwarding path
David Miller <davem@...emloft.net> wrote:
> From: Florian Westphal <fw@...len.de>
> Date: Mon, 27 Jan 2014 09:22:51 +0100
> > Changes since V2:
> > - make this thing apply to current -net tree
> > - kill unused variables in ip_forward/ip6_output
>
> Still need changes.
> > + return skb_gso_network_seglen(skb) > dst_mtu(skb_dst(skb));
>
> You can't use dst_mtu() directly, in order to be consistent with the
> rest of the forwarding code in this file you must use something like:
>
> > mtu = ip_dst_mtu_maybe_forward(&rt->dst, true);
You're right of course.
Sorry. I will fix this up and NOT resend soon, its clear I need
to do more homework (aka follow Hannes PMTU changes).
Expect a V4 in a couple of hours.
--
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