Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211091
b: refs/heads/master
c: 8df8fd2
h: refs/heads/master
i:
  211089: 0c30b47
  211087: 20700c0
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Sep 21, 2010
1 parent 08c1753 commit 6984594
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: 2d813760d75150db437e40d340ae0e06ddd54a34
refs/heads/master: 8df8fd27123054b02007361bd5483775db84b4a8
5 changes: 0 additions & 5 deletions trunk/drivers/net/qlcnic/qlcnic_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,6 @@ qlcnic_process_rcv(struct qlcnic_adapter *adapter,
if (pkt_offset)
skb_pull(skb, pkt_offset);

skb->truesize = skb->len + sizeof(struct sk_buff);
skb->protocol = eth_type_trans(skb, netdev);

napi_gro_receive(&sds_ring->napi, skb);
Expand Down Expand Up @@ -1466,8 +1465,6 @@ qlcnic_process_lro(struct qlcnic_adapter *adapter,

skb_put(skb, lro_length + data_offset);

skb->truesize = skb->len + sizeof(struct sk_buff) + skb_headroom(skb);

skb_pull(skb, l2_hdr_offset);
skb->protocol = eth_type_trans(skb, netdev);

Expand Down Expand Up @@ -1700,8 +1697,6 @@ qlcnic_process_rcv_diag(struct qlcnic_adapter *adapter,
if (pkt_offset)
skb_pull(skb, pkt_offset);

skb->truesize = skb->len + sizeof(struct sk_buff);

if (!qlcnic_check_loopback_buff(skb->data))
adapter->diag_cnt++;

Expand Down

0 comments on commit 6984594

Please sign in to comment.