Thread (2 messages) flat view 2 messages, 2 authors, 2012-07-26

Re: [PATCH 3/3] pch_gbe: vlan skb len fix

From: David Miller <davem@davemloft.net>
Date: 2012-07-26 21:31:43

From: Andy Cress <redacted>
Date: Thu, 26 Jul 2012 12:01:17 -0400
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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help