Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christophe JAILLET and committed by
Alexei Starovoitov
e9b4aeed f0c5a2d9

+1 -1
+1 -1
include/net/netns/xdp.h
··· 2 2 #ifndef __NETNS_XDP_H__ 3 3 #define __NETNS_XDP_H__ 4 4 5 - #include <linux/rculist.h> 6 5 #include <linux/mutex.h> 6 + #include <linux/types.h> 7 7 8 8 struct netns_xdp { 9 9 struct mutex lock;