[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101108.132636.246537518.davem@davemloft.net>
Date: Mon, 08 Nov 2010 13:26:36 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jesse@...ira.com
Cc: stable@...nel.org, netdev@...r.kernel.org
Subject: Re: [PATCH 2.6.36 stable] vlan: Avoid hwaccel vlan packets when
vid not used.
From: Jesse Gross <jesse@...ira.com>
Date: Mon, 8 Nov 2010 13:23:01 -0800
> 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.
>
> Reported-by: Ben Greear <greearb@...delatech.com>
> Tested-by: Nikola Ciprich <extmaillist@...uxbox.cz>
> Signed-off-by: Jesse Gross <jesse@...ira.com>
Acked-by: David S. Miller <davem@...emloft.net>
--
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