diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-08-05 03:34:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-05 15:40:14 -0400 |
commit | 545eb370087494dcf267e6285fe3aa20e5617c33 (patch) | |
tree | 1eb7530f8a0b48f7c005b0b391b478bc5f326a69 /drivers | |
parent | 839b04c4aba91dd175f60f45712680126fdc88f7 (diff) |
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 028afe719855a157e32450c ("netxen: add vlan
tx acceleration support").
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 40549a0e9ff0..c91e02245815 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -1450,7 +1450,7 @@ netxen_tso_check(struct net_device *netdev, | |||
1450 | skb_copy_from_linear_data_offset(skb, 12, | 1450 | skb_copy_from_linear_data_offset(skb, 12, |
1451 | (char *)vh + 16, copy_len - 16); | 1451 | (char *)vh + 16, copy_len - 16); |
1452 | 1452 | ||
1453 | copied = copy_len; | 1453 | copied = copy_len - VLAN_HLEN; |
1454 | offset = 0; | 1454 | offset = 0; |
1455 | 1455 | ||
1456 | producer = get_next_index(producer, tx_ring->num_desc); | 1456 | producer = get_next_index(producer, tx_ring->num_desc); |