Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Eric Dumazet and committed by
Linus Torvalds
0110bba5 ef78cc75

+1 -1
+1 -1
drivers/net/ethernet/ibm/ehea/ehea_main.c
··· 1689 1689 sgentry = &sg_list[i - sg1entry_contains_frag_data]; 1690 1690 1691 1691 sgentry->l_key = lkey; 1692 - sgentry->len = frag_size(frag); 1692 + sgentry->len = skb_frag_size(frag); 1693 1693 sgentry->vaddr = ehea_map_vaddr(skb_frag_address(frag)); 1694 1694 swqe->descriptors++; 1695 1695 }