projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4cb193
)
virtionet: convert to SKB paged frag API.
author
Ian Campbell
<
[email protected]
>
Wed, 21 Sep 2011 21:53:27 +0000
(21:53 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 22 Sep 2011 20:04:18 +0000
(16:04 -0400)
Signed-off-by: Ian Campbell <
[email protected]
>
Cc: Rusty Russell <
[email protected]
>
Cc: "Michael S. Tsirkin" <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/virtio_net.c
patch
|
blob
|
history
diff --git
a/drivers/net/virtio_net.c
b/drivers/net/virtio_net.c
index 4f09f88f1c28bcc110cab16c1c48238c936a6d84..d6e93ba9ff473161d229ddac3cd2ca0d5232ee50 100644
(file)
--- a/
drivers/net/virtio_net.c
+++ b/
drivers/net/virtio_net.c
@@
-149,7
+149,7
@@
static void set_skb_frag(struct sk_buff *skb, struct page *page,
f = &skb_shinfo(skb)->frags[i];
f->size = min((unsigned)PAGE_SIZE - offset, *len);
f->page_offset = offset;
-
f->page = page
;
+
__skb_frag_set_page(f, page)
;
skb->data_len += f->size;
skb->len += f->size;