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:
767df1c
)
atm: convert to SKB paged frag API.
author
Ian Campbell
<
[email protected]
>
Wed, 24 Aug 2011 22:28:07 +0000
(22:28 +0000)
committer
David S. Miller
<
[email protected]
>
Fri, 26 Aug 2011 16:38:42 +0000
(12:38 -0400)
Signed-off-by: Ian Campbell <
[email protected]
>
Reviewed-by: Konrad Rzeszutek Wilk <
[email protected]
>
Cc: Chas Williams <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Signed-off-by: David S. Miller <
[email protected]
>
drivers/atm/eni.c
patch
|
blob
|
history
diff --git
a/drivers/atm/eni.c
b/drivers/atm/eni.c
index 93071417315f66227f45260fc5a0fa171f9b798f..f7ca4c13d61d35d04ae4a50ebea80d061d303c89 100644
(file)
--- a/
drivers/atm/eni.c
+++ b/
drivers/atm/eni.c
@@
-1134,7
+1134,8
@@
DPRINTK("doing direct send\n"); /* @@@ well, this doesn't work anyway */
skb_headlen(skb));
else
put_dma(tx->index,eni_dev->dma,&j,(unsigned long)
- skb_shinfo(skb)->frags[i].page + skb_shinfo(skb)->frags[i].page_offset,
+ skb_frag_page(&skb_shinfo(skb)->frags[i]) +
+ skb_shinfo(skb)->frags[i].page_offset,
skb_shinfo(skb)->frags[i].size);
}
if (skb->len & 3)