summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-12-03 17:51:04 +0100
committerAlexei Starovoitov <ast@kernel.org>2022-12-06 20:04:34 -0800
commite9b4aeed56699b469206d05e706ddf2db95700a9 (patch)
tree136124c4566773891bc44a9a467a44e10b7fa709 /include/net
parentf0c5a2d9f2342733e417ac5d5d19848dbd8ba7aa (diff)
downloadlinux-e9b4aeed56699b469206d05e706ddf2db95700a9.tar.bz2
net: xsk: Don't include <linux/rculist.h>
There is no need to include <linux/rculist.h> here. Prefer the less invasive <linux/types.h> which is needed for 'hlist_head'. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/r/88d6a1d88764cca328610854f890a9ca1f4b029e.1670086246.git.christophe.jaillet@wanadoo.fr Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netns/xdp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netns/xdp.h b/include/net/netns/xdp.h
index e5734261ba0a..21a4f25a187a 100644
--- a/include/net/netns/xdp.h
+++ b/include/net/netns/xdp.h
@@ -2,8 +2,8 @@
#ifndef __NETNS_XDP_H__
#define __NETNS_XDP_H__
-#include <linux/rculist.h>
#include <linux/mutex.h>
+#include <linux/types.h>
struct netns_xdp {
struct mutex lock;