mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue