Re: [PATCH v2 3/3] af_packet: simplify VLAN frame check in packet_snd
From: David Miller <davem@davemloft.net>
Date: 2013-08-02 21:59:04
From: David Miller <davem@davemloft.net>
Date: 2013-08-02 21:59:04
From: Phil Sutter <phil@nwl.cc> Date: Fri, 2 Aug 2013 11:37:41 +0200
For ethernet frames, eth_type_trans() already parses the header, so one can skip this when checking the frame size. Signed-off-by: Phil Sutter <phil@nwl.cc>
Applied.