diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index fdf34836ef41..d00f62832742 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | |||
@@ -1018,7 +1018,7 @@ qlcnic_process_lro(struct qlcnic_adapter *adapter, | |||
1018 | 1018 | ||
1019 | skb->protocol = eth_type_trans(skb, netdev); | 1019 | skb->protocol = eth_type_trans(skb, netdev); |
1020 | 1020 | ||
1021 | if (htons(skb->protocol) == ETH_P_IPV6) { | 1021 | if (ntohs(skb->protocol) == ETH_P_IPV6) { |
1022 | ipv6h = (struct ipv6hdr *)skb->data; | 1022 | ipv6h = (struct ipv6hdr *)skb->data; |
1023 | th = (struct tcphdr *)(skb->data + sizeof(struct ipv6hdr)); | 1023 | th = (struct tcphdr *)(skb->data + sizeof(struct ipv6hdr)); |
1024 | length = (th->doff << 2) + lro_length; | 1024 | length = (th->doff << 2) + lro_length; |