forked from Minki/linux
netxen: fix vlan tso case
Fix the calculation of remaining header length in TSO
over vlan device case. This was inadvertently missed
out in patch 028afe7198
("netxen: add vlan
tx acceleration support").
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
839b04c4ab
commit
545eb37008
@ -1450,7 +1450,7 @@ netxen_tso_check(struct net_device *netdev,
|
||||
skb_copy_from_linear_data_offset(skb, 12,
|
||||
(char *)vh + 16, copy_len - 16);
|
||||
|
||||
copied = copy_len;
|
||||
copied = copy_len - VLAN_HLEN;
|
||||
offset = 0;
|
||||
|
||||
producer = get_next_index(producer, tx_ring->num_desc);
|
||||
|
Loading…
Reference in New Issue
Block a user