Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266905
b: refs/heads/master
c: 4b72736
h: refs/heads/master
i:
  266903: 38b4ddb
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Oct 21, 2011
1 parent 04dc718 commit 3701ea3
Show file tree
Hide file tree
Showing 2 changed files with 2 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: e1ac50f64691de9a095ac5d73cb8ac73d3d17dba
refs/heads/master: 4b727361f0bc7ee7378298941066d8aa15023ffb
2 changes: 1 addition & 1 deletion trunk/drivers/net/virtio_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ static void set_skb_frag(struct sk_buff *skb, struct page *page,

skb->data_len += size;
skb->len += size;
skb->truesize += PAGE_SIZE;
skb_shinfo(skb)->nr_frags++;
*len -= size;
}
Expand Down Expand Up @@ -287,7 +288,6 @@ static void receive_buf(struct net_device *dev, void *buf, unsigned int len)
}

hdr = skb_vnet_hdr(skb);
skb->truesize += skb->data_len;

u64_stats_update_begin(&stats->syncp);
stats->rx_bytes += skb->len;
Expand Down

0 comments on commit 3701ea3

Please sign in to comment.