Commit 0110bba5 authored by Eric Dumazet's avatar Eric Dumazet Committed by Linus Torvalds

ehea: fix skb_frag_size typo

Commit 9e903e08 ("net: add skb frag size accessors") introduced a
typo in ehea driver.
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ef78cc75
...@@ -1689,7 +1689,7 @@ static inline void write_swqe2_data(struct sk_buff *skb, struct net_device *dev, ...@@ -1689,7 +1689,7 @@ static inline void write_swqe2_data(struct sk_buff *skb, struct net_device *dev,
sgentry = &sg_list[i - sg1entry_contains_frag_data]; sgentry = &sg_list[i - sg1entry_contains_frag_data];
sgentry->l_key = lkey; sgentry->l_key = lkey;
sgentry->len = frag_size(frag); sgentry->len = skb_frag_size(frag);
sgentry->vaddr = ehea_map_vaddr(skb_frag_address(frag)); sgentry->vaddr = ehea_map_vaddr(skb_frag_address(frag));
swqe->descriptors++; swqe->descriptors++;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment