提交 2195e2a0 编写于 作者: J Jakub Kicinski 提交者: David S. Miller

net: skbuff: drop the linux/textsearch.h include

This include was added for skb_find_text() but all we need there
is a forward declaration of struct ts_config.
Signed-off-by: NJakub Kicinski <kuba@kernel.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 68f4eae7
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include <linux/atomic.h> #include <linux/atomic.h>
#include <asm/types.h> #include <asm/types.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/textsearch.h>
#include <net/checksum.h> #include <net/checksum.h>
#include <linux/rcupdate.h> #include <linux/rcupdate.h>
#include <linux/hrtimer.h> #include <linux/hrtimer.h>
...@@ -279,6 +278,7 @@ struct napi_struct; ...@@ -279,6 +278,7 @@ struct napi_struct;
struct bpf_prog; struct bpf_prog;
union bpf_attr; union bpf_attr;
struct skb_ext; struct skb_ext;
struct ts_config;
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER) #if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
struct nf_bridge_info { struct nf_bridge_info {
......
...@@ -79,6 +79,7 @@ ...@@ -79,6 +79,7 @@
#include <linux/capability.h> #include <linux/capability.h>
#include <linux/user_namespace.h> #include <linux/user_namespace.h>
#include <linux/indirect_call_wrapper.h> #include <linux/indirect_call_wrapper.h>
#include <linux/textsearch.h>
#include "dev.h" #include "dev.h"
#include "sock_destructor.h" #include "sock_destructor.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册