Skip to content
Commit c483e026 authored by Phil Sutter's avatar Phil Sutter Committed by David S. Miller
Browse files

af_packet: simplify VLAN frame check in packet_snd



For ethernet frames, eth_type_trans() already parses the header, so one
can skip this when checking the frame size.

Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cbd89acb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment