From: Eric Dumazet Date: Fri, 18 Mar 2011 00:27:27 +0000 (+0000) Subject: vlan: should take into account needed_headroom X-Git-Tag: v2.6.39-rc1~390^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d870bfb9d366c5d466c0f5419a4ec95a3f71ea8a;p=pandora-kernel.git vlan: should take into account needed_headroom Commit c95b819ad7 (gre: Use needed_headroom) made gre use needed_headroom instead of hard_header_len This uncover a bug in vlan code. We should make sure vlan devices take into account their real_dev->needed_headroom or we risk a crash in ipgre_header(), because we dont have enough room to push IP header in skb. Reported-by: Diddi Oscarsson Signed-off-by: Eric Dumazet Cc: Patrick McHardy Cc: Herbert Xu Acked-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed