diff options
| author | Breno Leitao <leitao@debian.org> | 2026-07-10 04:38:58 -0700 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-07-17 12:09:16 +0200 |
| commit | 67fb2038e1f65309a91f61169e75ee973f936f1c (patch) | |
| tree | d43abab03b49cd73982f786760411766f942481d /include/linux | |
| parent | 2fbebfbe2953bc0ba1656b25d03338fde1066ad5 (diff) | |
| download | linux-next-67fb2038e1f65309a91f61169e75ee973f936f1c.tar.gz linux-next-67fb2038e1f65309a91f61169e75ee973f936f1c.zip | |
netconsole: move skb_pool_flush() from netpoll
skb_pool_flush() has no callers left in net/core/netpoll.c after
netconsole took over the pool lifecycle. Inline its body into
netconsole_skb_pool_flush() (the only caller) and drop the function
and its export from netpoll. The prototype goes from
<linux/netpoll.h>.
Pure code motion: cancel_work_sync() + skb_queue_purge_reason()
semantics are unchanged.
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20260710-netconsole_move_more-v3-6-6f63f76b28bc@debian.org
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/netpoll.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h index 7e2fbce863e9..1216b5c237ce 100644 --- a/include/linux/netpoll.h +++ b/include/linux/netpoll.h @@ -76,7 +76,6 @@ void netpoll_cleanup(struct netpoll *np); void do_netpoll_cleanup(struct netpoll *np); netdev_tx_t netpoll_send_skb(struct netpoll *np, struct sk_buff *skb); void netpoll_zap_completion_queue(void); -void skb_pool_flush(struct netpoll *np); #ifdef CONFIG_NETPOLL static inline void *netpoll_poll_lock(struct napi_struct *napi) |
