Skip to content

Commit

Permalink
netxen: fix vlan tso case
Browse files Browse the repository at this point in the history
Fix the calculation of remaining header length in TSO
over vlan device case. This was inadvertently missed
out in patch 028afe7 ("netxen: add vlan
tx acceleration support").

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Dhananjay Phadke authored and David S. Miller committed Aug 5, 2009
1 parent 839b04c commit 545eb37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/netxen/netxen_nic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 545eb37

Please sign in to comment.