summaryrefslogtreecommitdiff
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-01-25 23:14:17 -0800
committerDavid S. Miller <davem@davemloft.net>2023-01-27 11:19:46 +0000
commit2195e2a024aef567aea6ea0b0dab52f77bcc7b55 (patch)
tree62379464f436bedd3b8421070b18fe3157d111b8 /include/linux/skbuff.h
parent68f4eae781dd25aca2eb84ca2279663689db8d19 (diff)
downloadlwn-2195e2a024aef567aea6ea0b0dab52f77bcc7b55.tar.gz
lwn-2195e2a024aef567aea6ea0b0dab52f77bcc7b55.zip
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: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r--include/linux/skbuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index b93818e11da0..7eeb06f9ca1f 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -23,7 +23,6 @@
#include <linux/atomic.h>
#include <asm/types.h>
#include <linux/spinlock.h>
-#include <linux/textsearch.h>
#include <net/checksum.h>
#include <linux/rcupdate.h>
#include <linux/hrtimer.h>
@@ -279,6 +278,7 @@ struct napi_struct;
struct bpf_prog;
union bpf_attr;
struct skb_ext;
+struct ts_config;
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
struct nf_bridge_info {