From: Andy Cress Date: Thu, 26 Jul 2012 06:01:17 +0000 (+0000) Subject: pch_gbe: vlan skb len fix X-Git-Tag: v3.6-rc1~78^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4487e64de63b8e42efe5a5543871c42c5a5859d9;p=pandora-kernel.git pch_gbe: vlan skb len fix pch_gbe_xmit_frame skb->len verification was incorrect in vlan case causing bogus transfer length errors. One correction could be: offset = skb->protocol == htons(ETH_P_8021Q) ? 0 : 4; if (unlikely(skb->len > (adapter->hw.mac.max_frame_size - offset))) However, this verification is not necessary, so remove it. Signed-off-by: Andy Cress Signed-off-by: David S. Miller --- Reading git-diff-tree failed