projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c5a2d
)
net: xsk: Don't include <linux/rculist.h>
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Sat, 3 Dec 2022 16:51:04 +0000
(17:51 +0100)
committer
Alexei Starovoitov
<ast@kernel.org>
Wed, 7 Dec 2022 04:04:34 +0000
(20:04 -0800)
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>
include/net/netns/xdp.h
patch
|
blob
|
history
diff --git
a/include/net/netns/xdp.h
b/include/net/netns/xdp.h
index
e573426
..
21a4f25
100644
(file)
--- 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;