[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1353114559.10798.66.camel@edumazet-glaptop>
Date: Fri, 16 Nov 2012 17:09:19 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ben Hutchings <bhutchings@...arflare.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
linux-net-drivers@...arflare.com,
Andrew Gallatin <gallatin@...i.com>,
Herbert Xu <herbert@...dor.apana.org.au>
Subject: Re: [PATCH net-next] gro: Handle inline VLAN tags
On Sat, 2012-11-17 at 00:32 +0000, Ben Hutchings wrote:
> On Fri, 2012-11-16 at 16:16 -0800, Eric Dumazet wrote:
> > On Sat, 2012-11-17 at 00:00 +0000, Ben Hutchings wrote:
> >
> > > I'm not sure what you mean by this. Is your point that the
> > > copy-on-write is never needed? It is still possible for pskb_may_pull()
> > > to fail.
> > >
> >
> > A packet sniffer should have a copy of bad frames, even if dropped later
> > in our stacks.
> >
> > GRO layer is not allowed to drop a frame, even if not 'correct'.
>
> What do you think the accelerated hardware does with frames that have a
> truncated VLAN tag?
The hardware should send us the frame, exactly like when RX checksum is
wrong.
--
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