Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289871
b: refs/heads/master
c: e02ef33
h: refs/heads/master
i:
  289869: 2e998f1
  289867: e399fd3
  289863: 73330ed
  289855: 0c34e79
v: v3
  • Loading branch information
Jitendra Kalsaria authored and David S. Miller committed Feb 4, 2012
1 parent fe5efa5 commit 0a3922c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 97bf2262e7f8177706ecdac897be165c0b455c6f
refs/heads/master: e02ef3311ae7329335d7c2b954b3988f7628a109
7 changes: 4 additions & 3 deletions trunk/drivers/net/ethernet/qlogic/qlge/qlge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1576,13 +1576,14 @@ static void ql_process_mac_rx_page(struct ql_adapter *qdev,
} else if ((ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_U) &&
(ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_V4)) {
/* Unfragmented ipv4 UDP frame. */
struct iphdr *iph = (struct iphdr *) skb->data;
struct iphdr *iph =
(struct iphdr *) ((u8 *)addr + ETH_HLEN);
if (!(iph->frag_off &
cpu_to_be16(IP_MF|IP_OFFSET))) {
skb->ip_summed = CHECKSUM_UNNECESSARY;
netif_printk(qdev, rx_status, KERN_DEBUG,
qdev->ndev,
"TCP checksum done!\n");
"UDP checksum done!\n");
}
}
}
Expand Down Expand Up @@ -1690,7 +1691,7 @@ static void ql_process_mac_rx_skb(struct ql_adapter *qdev,
skb->ip_summed = CHECKSUM_UNNECESSARY;
netif_printk(qdev, rx_status, KERN_DEBUG,
qdev->ndev,
"TCP checksum done!\n");
"UDP checksum done!\n");
}
}
}
Expand Down

0 comments on commit 0a3922c

Please sign in to comment.