aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/netxen/netxen_nic_hw.c')
-rw-r--r--drivers/net/netxen/netxen_nic_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_hw.c b/drivers/net/netxen/netxen_nic_hw.c
index c7d97054d05c..9603c635b054 100644
--- a/drivers/net/netxen/netxen_nic_hw.c
+++ b/drivers/net/netxen/netxen_nic_hw.c
@@ -351,7 +351,7 @@ void netxen_tso_check(struct netxen_adapter *adapter,
351 ((skb->nh.iph)->ihl * sizeof(u32)) + 351 ((skb->nh.iph)->ihl * sizeof(u32)) +
352 ((skb->h.th)->doff * sizeof(u32)); 352 ((skb->h.th)->doff * sizeof(u32));
353 desc->opcode = TX_TCP_LSO; 353 desc->opcode = TX_TCP_LSO;
354 } else if (skb->ip_summed == CHECKSUM_HW) { 354 } else if (skb->ip_summed == CHECKSUM_COMPLETE) {
355 if (skb->nh.iph->protocol == IPPROTO_TCP) { 355 if (skb->nh.iph->protocol == IPPROTO_TCP) {
356 desc->opcode = TX_TCP_PKT; 356 desc->opcode = TX_TCP_PKT;
357 } else if (skb->nh.iph->protocol == IPPROTO_UDP) { 357 } else if (skb->nh.iph->protocol == IPPROTO_UDP) {