diff options
Diffstat (limited to 'drivers/net/netxen')
-rw-r--r-- | drivers/net/netxen/netxen_nic_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/netxen/netxen_nic_hw.c b/drivers/net/netxen/netxen_nic_hw.c index b2f5032937e3..28d68c3550ef 100644 --- a/drivers/net/netxen/netxen_nic_hw.c +++ b/drivers/net/netxen/netxen_nic_hw.c | |||
@@ -378,9 +378,9 @@ void netxen_tso_check(struct netxen_adapter *adapter, | |||
378 | skb->h.th->doff * 4); | 378 | skb->h.th->doff * 4); |
379 | netxen_set_cmd_desc_opcode(desc, TX_TCP_LSO); | 379 | netxen_set_cmd_desc_opcode(desc, TX_TCP_LSO); |
380 | } else if (skb->ip_summed == CHECKSUM_PARTIAL) { | 380 | } else if (skb->ip_summed == CHECKSUM_PARTIAL) { |
381 | if (skb->nh.iph->protocol == IPPROTO_TCP) { | 381 | if (ip_hdr(skb)->protocol == IPPROTO_TCP) { |
382 | netxen_set_cmd_desc_opcode(desc, TX_TCP_PKT); | 382 | netxen_set_cmd_desc_opcode(desc, TX_TCP_PKT); |
383 | } else if (skb->nh.iph->protocol == IPPROTO_UDP) { | 383 | } else if (ip_hdr(skb)->protocol == IPPROTO_UDP) { |
384 | netxen_set_cmd_desc_opcode(desc, TX_UDP_PKT); | 384 | netxen_set_cmd_desc_opcode(desc, TX_UDP_PKT); |
385 | } else { | 385 | } else { |
386 | return; | 386 | return; |