[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140128091201.GA25726@breakpoint.cc>
Date: Tue, 28 Jan 2014 10:12:01 +0100
From: Florian Westphal <fw@...len.de>
To: Eric Dumazet <eric.dumazet@...il.com>,
Florian Westphal <fw@...len.de>, netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] net: ip, ipv6: handle gso skbs in forwarding path
Hannes Frederic Sowa <hannes@...essinduktion.org> wrote:
> On Mon, Jan 27, 2014 at 10:22:47AM -0800, Eric Dumazet wrote:
> > On Mon, 2014-01-27 at 09:22 +0100, Florian Westphal wrote:
> >
> > > +/* called if GSO skb needs to be fragmented on forward. */
> > > +static int ip_forward_finish_gso(struct sk_buff *skb)
> > > +{
> > > + netdev_features_t features = netif_skb_features(skb);
>
> netif_skb_features uses skb->dev for determination of offloading features but
> we actually need rt->dst.dev, no?
good catch, cannot use netif_skb_features as skb->dev still
points to incoming device here...
--
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