vlan: avoid header copying and linearisation where possible