Skip to content

Commit ea8fdf1

Browse files
haokexinJonathan Corbet
authored andcommitted
docs: vm: page_frags.rst: Fix the reference of stale function
The __netdev_alloc_frag() has been dropped by commit 7ba7aea ("net: Don't disable interrupts in napi_alloc_frag()"). So replace it with netdev_alloc_frag(). Signed-off-by: Kevin Hao <haokexin@gmail.com> Link: https://lore.kernel.org/r/20200508140924.18220-1-haokexin@gmail.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent fd79cfd commit ea8fdf1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Documentation/vm/page_frags.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ to be disabled when executing the fragment allocation.
2626

2727
The network stack uses two separate caches per CPU to handle fragment
2828
allocation. The netdev_alloc_cache is used by callers making use of the
29-
__netdev_alloc_frag and __netdev_alloc_skb calls. The napi_alloc_cache is
29+
netdev_alloc_frag and __netdev_alloc_skb calls. The napi_alloc_cache is
3030
used by callers of the __napi_alloc_frag and __napi_alloc_skb calls. The
3131
main difference between these two calls is the context in which they may be
3232
called. The "netdev" prefixed functions are usable in any context as these

0 commit comments

Comments
 (0)