Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754949AbZCEG5r (ORCPT ); Thu, 5 Mar 2009 01:57:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752760AbZCEG5g (ORCPT ); Thu, 5 Mar 2009 01:57:36 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:50161 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750786AbZCEG5f (ORCPT ); Thu, 5 Mar 2009 01:57:35 -0500 Date: Wed, 04 Mar 2009 22:57:19 -0800 (PST) Message-Id: <20090304.225719.159854470.davem@davemloft.net> To: kaber@trash.net Cc: bart@jukie.net, greearb@candelatech.com, shemminger@vyatta.com, dada1@cosmosbay.com, frank.blaschka@de.ibm.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [BUG] 2.6.29-rc* QinQ vlan trunking regression From: David Miller In-Reply-To: <49AF685D.90907@trash.net> References: <49AE69DD.80802@trash.net> <20090304.195328.106253933.davem@davemloft.net> <49AF685D.90907@trash.net> X-Mailer: Mew version 6.1 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1175 Lines: 28 From: Patrick McHardy Date: Thu, 05 Mar 2009 06:51:25 +0100 > David Miller wrote: > > From: Patrick McHardy > > Date: Wed, 04 Mar 2009 12:45:33 +0100 > > > >> This is a bit tricky to fix since we actually need some valid > >> ops before invoking ->init(). One way would be to move the compat > >> ops initialization to a seperate function and have VLAN use it to > >> switch its ops. > > Mind if I push this into net-2.6? > > vlan: Fix vlan-in-vlan crashes. > > As analyzed by Patrick McHardy, vlan needs to reset it's > > netdev_ops pointer in it's ->init() function but this > > leaves the compat method pointers stale. > > Add a netdev_resync_ops() and call it from the vlan code. > > This looks fine, thanks. Even if it doesn't fix this particular > report, I think its appropriate for net-2.6. Thanks for looking at it, but I don't want to push it out until we fully resolve this bug. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/