diff options
author | Eric Dumazet <edumazet@google.com> | 2024-03-29 18:42:18 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-01 13:28:31 +0300 |
commit | b9495b564d91a0afe4125db64d2bc25c310bda9c (patch) | |
tree | 80e4dc847c3f49ff6b5bb7209b3c31b0c72f9372 /include/linux/netdevice.h | |
parent | d823265dd45bbf14bd67aa476057108feb4143ce (diff) | |
download | linux-b9495b564d91a0afe4125db64d2bc25c310bda9c.tar.xz |
net: move kick_defer_list_purge() to net/core/dev.h
kick_defer_list_purge() is defined in net/core/dev.c
and used from net/core/skubff.c
Because we need softnet_data, include <linux/netdevice.h>
from net/core/dev.h
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 55c7cf9404a4..15e70527b703 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -3288,7 +3288,6 @@ static inline void dev_xmit_recursion_dec(void) __this_cpu_dec(softnet_data.xmit.recursion); } -void kick_defer_list_purge(struct softnet_data *sd, unsigned int cpu); void __netif_schedule(struct Qdisc *q); void netif_schedule_queue(struct netdev_queue *txq); |