[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101207210312.GA14729@kroah.com>
Date: Tue, 7 Dec 2010 13:03:12 -0800
From: Greg KH <greg@...ah.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev@...r.kernel.org, Jesse Gross <jesse@...ira.com>,
stable@...nel.org, David Miller <davem@...emloft.net>
Subject: Re: [stable] [PATCH 2.6.36 stable] vlan: Avoid hwaccel vlan
packets when vid not used.
On Tue, Dec 07, 2010 at 09:50:26PM +0100, Eric Dumazet wrote:
> Le mardi 07 décembre 2010 à 11:50 -0800, Greg KH a écrit :
> > On Mon, Nov 08, 2010 at 01:23:01PM -0800, Jesse Gross wrote:
> > > Normally hardware accelerated vlan packets are quickly dropped if
> > > there is no corresponding vlan device configured. The one exception
> > > is promiscuous mode, where we allow all of these packets through so
> > > they can be picked up by tcpdump. However, this behavior causes a
> > > crash if we actually try to receive these packets. This fixes that
> > > crash by ignoring packets with vids not corresponding to a configured
> > > device in the vlan hwaccel routines and then dropping them before they
> > > get to consumers in the network stack.
> > >
> > > This patch applies only to 2.6.36 stable. The problem was introduced
> > > in that release and is already fixed by larger changes to the vlan
> > > code in 2.6.37.
> >
> > Applied, thanks.
> >
>
> Oh well, which version ?
>
> A new version of the patch was submitted 6 days ago .
>
> http://patchwork.ozlabs.org/patch/73791/
I applied the one below.
If that is incorrect, please send me the correct one.
thanks,
greg k-h
View attachment "vlan-avoid-hwaccel-vlan-packets-when-vid-not-used.patch" of type "text/x-patch" (2483 bytes)
Powered by blists - more mailing lists