]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
VLAN: kill_vid is only useful for VLAN filtering devices
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 1 Jun 2007 16:43:57 +0000 (09:43 -0700)
committerJeff Garzik <jeff@garzik.org>
Sun, 3 Jun 2007 15:44:19 +0000 (11:44 -0400)
commitd2d1acdb6a632486be9a731f40c68980c09f0490
treef3c4356f6d57985a6b22b074c7d154bdff0809da
parente68a8c10c4c5daf363e946d10c1a5cba77d7f92c
VLAN: kill_vid is only useful for VLAN filtering devices

The interface for network device VLAN extension was confusing.
The kill_vid function is only really useful for devices that do
hardware filtering. Devices that only do VLAN receiption without
filtering were being forced to provide the hook, and there were
bugs in those devices.

Many drivers had kill_vid routine that called vlan_group_set_device, with
NULL, but that is done already.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
net/8021q/vlan.c