From: Jakub Kicinski Date: Thu, 26 Jan 2023 07:14:17 +0000 (-0800) Subject: net: skbuff: drop the linux/textsearch.h include X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2195e2a024aef567aea6ea0b0dab52f77bcc7b55;p=linux.git 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 Signed-off-by: David S. Miller --- diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index b93818e11da00..7eeb06f9ca1f1 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include @@ -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 { diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 180df58e85c72..bb79b4cb89db3 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -79,6 +79,7 @@ #include #include #include +#include #include "dev.h" #include "sock_destructor.h"