Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362628
b: refs/heads/master
c: 3eead21
h: refs/heads/master
v: v3
  • Loading branch information
Sritej Velaga authored and David S. Miller committed Apr 18, 2013
1 parent ab42be5 commit ad2a3bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: a4325ea242d9d0889cb7e86811fef3ff3d714d29
refs/heads/master: 3eead213fe9828b511faf74a7ed566b56b2b3bcc
3 changes: 1 addition & 2 deletions trunk/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,7 @@ static int qlcnic_tx_pkt(struct qlcnic_adapter *adapter,
memcpy(&first_desc->eth_addr, skb->data, ETH_ALEN);
}
opcode = TX_ETHER_PKT;
if ((adapter->netdev->features & (NETIF_F_TSO | NETIF_F_TSO6)) &&
skb_shinfo(skb)->gso_size > 0) {
if (skb_is_gso(skb)) {
hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb);
first_desc->mss = cpu_to_le16(skb_shinfo(skb)->gso_size);
first_desc->total_hdr_length = hdr_len;
Expand Down

0 comments on commit ad2a3bb

Please sign in to comment.