"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "ada82f9940e92650221b677a46afd086632ed1c7"
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 <andy.cress@us.kontron.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please register or sign in to comment