mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
qeth: convert to SKB paged frag API.
Signed-off-by: Ian Campbell <[email protected]> Cc: Ursula Braun <[email protected]> Cc: Frank Blaschka <[email protected]> Cc: [email protected] Cc: Martin Schwidefsky <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
4bb97cae66
commit
8d36bb0de7
1 changed files with 2 additions and 1 deletions
|
|
@ -3694,7 +3694,8 @@ static inline void __qeth_fill_buffer(struct sk_buff *skb,
|
|||
|
||||
for (cnt = 0; cnt < skb_shinfo(skb)->nr_frags; cnt++) {
|
||||
frag = &skb_shinfo(skb)->frags[cnt];
|
||||
buffer->element[element].addr = (char *)page_to_phys(frag->page)
|
||||
buffer->element[element].addr = (char *)
|
||||
page_to_phys(skb_frag_page(frag))
|
||||
+ frag->page_offset;
|
||||
buffer->element[element].length = frag->size;
|
||||
buffer->element[element].eflags = SBAL_EFLAGS_MIDDLE_FRAG;
|
||||
|
|
|
|||
Loading…
Reference in a new issue