RE: hardware VLAN acceleration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> 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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux