diff options
| author | 2024-03-29 15:42:18 +0000 | |
|---|---|---|
| committer | 2024-04-01 11:28:31 +0100 | |
| commit | b9495b564d91a0afe4125db64d2bc25c310bda9c (patch) | |
| tree | 80e4dc847c3f49ff6b5bb7209b3c31b0c72f9372 /net/core | |
| parent | Merge branch 'ice-pfcp-filter' (diff) | |
| download | wireguard-linux-b9495b564d91a0afe4125db64d2bc25c310bda9c.tar.xz wireguard-linux-b9495b564d91a0afe4125db64d2bc25c310bda9c.zip | |
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 'net/core')
| -rw-r--r-- | net/core/dev.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/core/dev.h b/net/core/dev.h index 2bcaf8eee50c..9d0f8b4587f8 100644 --- a/net/core/dev.h +++ b/net/core/dev.h @@ -4,11 +4,9 @@ #include <linux/types.h> #include <linux/rwsem.h> +#include <linux/netdevice.h> struct net; -struct net_device; -struct netdev_bpf; -struct netdev_phys_item_id; struct netlink_ext_ack; struct cpumask; @@ -150,4 +148,6 @@ static inline void xdp_do_check_flushed(struct napi_struct *napi) { } #endif struct napi_struct *napi_by_id(unsigned int napi_id); +void kick_defer_list_purge(struct softnet_data *sd, unsigned int cpu); + #endif |
