Skip to content

Commit bc6fc9f

Browse files
ffainellidavem330
authored andcommitted
net: fix comment typo for __skb_alloc_pages()
The name of the function in the comment is __skb_alloc_page() while we are actually commenting __skb_alloc_pages(). Fix this typo and make it a valid kernel doc comment. Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 50ad076 commit bc6fc9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/skbuff.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1905,8 +1905,8 @@ static inline struct sk_buff *netdev_alloc_skb_ip_align(struct net_device *dev,
19051905
return __netdev_alloc_skb_ip_align(dev, length, GFP_ATOMIC);
19061906
}
19071907

1908-
/*
1909-
* __skb_alloc_page - allocate pages for ps-rx on a skb and preserve pfmemalloc data
1908+
/**
1909+
* __skb_alloc_pages - allocate pages for ps-rx on a skb and preserve pfmemalloc data
19101910
* @gfp_mask: alloc_pages_node mask. Set __GFP_NOMEMALLOC if not for network packet RX
19111911
* @skb: skb to set pfmemalloc on if __GFP_MEMALLOC is used
19121912
* @order: size of the allocation

0 commit comments

Comments
 (0)