[PATCH] Updated 802.1p/q patch

Andrew Thompson thompsa at freebsd.org
Thu Feb 15 09:55:46 UTC 2007


On Wed, Feb 14, 2007 at 10:18:49PM +0000, Bruce M Simpson wrote:
> Hi,
> 
> I have tested my 802.1p input patch with vlans configured. So far so good.
> 
> It is now available from: 
> http://people.FreeBSD.org/~bms/dump/latest-8021p.diff
> 

    /*
     * If the device did not perform decapsulation of the 802.1q
     * VLAN header itself, do this now...
     */
    if ((ether_type == ETHERTYPE_VLAN) && !(m->m_flags & M_VLANTAG)) {
	...
    }

Is it possible to move this block into ether_input() above the bridge
hook? it would be nice if ether_vtag was set consistently early on in
the game.


cheers,
Andrew


More information about the freebsd-net mailing list