diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-10-25 10:16:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-25 10:20:43 -0400 |
commit | 0110bba5e7731524940f9e02ce3d4aae75087f68 (patch) | |
tree | 6892926b1d0585c43c3f2fd2fc211b7743684c4d /drivers/net | |
parent | ef78cc75f11ba3b085b105209cbfc6666ee10499 (diff) |
ehea: fix skb_frag_size typo
Commit 9e903e085262 ("net: add skb frag size accessors") introduced a
typo in ehea driver.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/ibm/ehea/ehea_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/ehea/ehea_main.c b/drivers/net/ethernet/ibm/ehea/ehea_main.c index 0d4d4f68d4ed..37b70f7052b6 100644 --- a/drivers/net/ethernet/ibm/ehea/ehea_main.c +++ b/drivers/net/ethernet/ibm/ehea/ehea_main.c | |||
@@ -1689,7 +1689,7 @@ static inline void write_swqe2_data(struct sk_buff *skb, struct net_device *dev, | |||
1689 | sgentry = &sg_list[i - sg1entry_contains_frag_data]; | 1689 | sgentry = &sg_list[i - sg1entry_contains_frag_data]; |
1690 | 1690 | ||
1691 | sgentry->l_key = lkey; | 1691 | sgentry->l_key = lkey; |
1692 | sgentry->len = frag_size(frag); | 1692 | sgentry->len = skb_frag_size(frag); |
1693 | sgentry->vaddr = ehea_map_vaddr(skb_frag_address(frag)); | 1693 | sgentry->vaddr = ehea_map_vaddr(skb_frag_address(frag)); |
1694 | swqe->descriptors++; | 1694 | swqe->descriptors++; |
1695 | } | 1695 | } |