Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349739
b: refs/heads/master
c: bd69ba7
h: refs/heads/master
i:
  349737: 3ed5202
  349735: 1f7befb
v: v3
  • Loading branch information
Michael S. Tsirkin authored and David S. Miller committed Feb 11, 2013
1 parent 97cf1d1 commit 149032a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 1594712f9e5426bfb96b96404cf3726a7b348db7
refs/heads/master: bd69ba798e21a39748d95942f6191a4f7c9611fc
7 changes: 6 additions & 1 deletion trunk/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -986,8 +986,13 @@ qlcnic_process_lro(struct qlcnic_adapter *adapter,
th->seq = htonl(seq_number);
length = skb->len;

if (adapter->flags & QLCNIC_FW_LRO_MSS_CAP)
if (adapter->flags & QLCNIC_FW_LRO_MSS_CAP) {
skb_shinfo(skb)->gso_size = qlcnic_get_lro_sts_mss(sts_data1);
if (skb->protocol == htons(ETH_P_IPV6))
skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6;
else
skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4;
}

if (vid != 0xffff)
__vlan_hwaccel_put_tag(skb, vid);
Expand Down

0 comments on commit 149032a

Please sign in to comment.