ehea: fix skb_frag_size typo
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 25 Oct 2011 14:16:10 +0000 (16:16 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 Oct 2011 14:20:43 +0000 (16:20 +0200)
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>
drivers/net/ethernet/ibm/ehea/ehea_main.c

index 0d4d4f68d4ed5952ddb776e089af60f469c8b661..37b70f7052b68ad9a16593cb299cf6eb380a6491 100644 (file)
@@ -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->l_key = lkey;
-                       sgentry->len = frag_size(frag);
+                       sgentry->len = skb_frag_size(frag);
                        sgentry->vaddr = ehea_map_vaddr(skb_frag_address(frag));
                        swqe->descriptors++;
                }