]> git.baikalelectronics.ru Git - kernel.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)
commita236222b4460b045f2e185279123275e91023bd0
treef3c4356f6d57985a6b22b074c7d154bdff0809da
parent5c11963240a8f4a898077627b4c952e14b32b4d0
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