Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 28 Feb 2002 18:43:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 28 Feb 2002 18:40:59 -0500 Received: from fmfdns01.fm.intel.com ([132.233.247.10]:61678 "EHLO calliope1.fm.intel.com") by vger.kernel.org with ESMTP id ; Thu, 28 Feb 2002 18:38:30 -0500 Message-ID: From: "Leech, Christopher" To: "'David S. Miller'" , "Leech, Christopher" Cc: linux-kernel@vger.kernel.org, linux-net@vger.kernel.org Subject: RE: hardware VLAN acceleration Date: Thu, 28 Feb 2002 15:38:24 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > Any time VLAN groups exist, the VLAN module should not be unloadable. > > This is a hokey area of how the VLAN layer works and I intend > to fix it. OK. I was just trying really hard to find potential API problems earlier rather than later, obviously without taking the time to completely understand the VLAN layer internals :) I don't see why it wouldn't be desirable to have a method of stopping the driver from continuing to call vlan_hwaccel_rx, so that the vlan_group could be freed after all the VIDs were removed. It could be as simple as declaring that dev->vlan_rx_register(dev, NULL) is valid. Chris - 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/