From: Patrick McHardy Date: Tue, 8 Jul 2008 10:21:27 +0000 (-0700) Subject: vlan: fix network_header/mac_header adjustments X-Git-Tag: v2.6.27-rc1~969^2~194 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acc81e1465d29e0284008770cc4b8bc90bd93bd7;p=pandora-kernel.git vlan: fix network_header/mac_header adjustments Lennert Buytenhek points out that the VLAN code incorrectly adjusts skb->network_header to point in the middle of the VLAN header and additionally tries to adjust skb->mac_header without checking for validity. The network_header should not be touched at all since we're only adding headers in front of it, mac_header adjustments are not necessary at all. Based on patch by Lennert Buytenhek . Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed