From: Hao Zheng Date: Thu, 11 Nov 2010 13:47:57 +0000 (+0000) Subject: vlan: Add function to retrieve EtherType from vlan packets. X-Git-Tag: v2.6.37-rc2~20^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a85df004667c99efc31fab07386823eefce3be5;p=pandora-kernel.git vlan: Add function to retrieve EtherType from vlan packets. Depending on how a packet is vlan tagged (i.e. hardware accelerated or not), the encapsulated protocol is stored in different locations. This provides a consistent method of accessing that protocol, which is needed by drivers, security checks, etc. Signed-off-by: Hao Zheng Signed-off-by: Jesse Gross Signed-off-by: David S. Miller --- Reading git-diff-tree failed