Stephen Hemminger wrote: > There is a function in br_forward.c that handles VLAN packet length > maybe use that Do you mean packet_length()? It is up to you, but IMHO it will only slow down processing due to extra skb->protocol check.