My original thought was to do something like this in net/core/dev.c
using a method similar to handle_bridge or handle_macvlen. So, if the
packet doesn't get handled by the ptype_base list and IFF_ALLVLAN is
set, then strip the header and let the packet through. The sticky point
would be whether or not this policy should be enabled by default, as it
seems to be in other network stacks.
Most switches treat VLAN 1 as the "Default" or "Administration" VLAN.
It might make sense to map VLAN 1 to the incoming interface, and then
use that as a catch all. Then again, that might be a terrible idea as
well. =)
Duly noted - thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html