]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
netpoll: rename and export netpoll_zap_completion_queue()
authorBreno Leitao <leitao@debian.org>
Tue, 12 May 2026 10:46:41 +0000 (03:46 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 14 May 2026 01:09:13 +0000 (18:09 -0700)
commit7bb1daff3612276357b28d0dee2a32301be97dfd
tree8b19724d982dcf51f47147ba1a6033b4b273ba1f
parent597bfa943131511e668235f112c70e806ca36e5d
netpoll: rename and export netpoll_zap_completion_queue()

zap_completion_queue() drains the per-CPU softnet completion queue.
Rename it with the netpoll_ prefix shared by the rest of the
subsystem's public API, and promote it from file-static to
EXPORT_SYMBOL_NS_GPL in the NETDEV_INTERNAL namespace so the upcoming
netconsole-side find_skb() can call it once the function moves out.
A forward declaration is added to include/linux/netpoll.h, and the
old file-static forward declaration is dropped.

No functional change.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20260512-netconsole_split-v2-8-1191d14ad66d@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/netpoll.h
net/core/netpoll.c