mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 15:29:16 +00:00
![Christophe JAILLET](/assets/img/avatar_default.png)
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>
14 lines
237 B
C
14 lines
237 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __NETNS_XDP_H__
|
|
#define __NETNS_XDP_H__
|
|
|
|
#include <linux/mutex.h>
|
|
#include <linux/types.h>
|
|
|
|
struct netns_xdp {
|
|
struct mutex lock;
|
|
struct hlist_head list;
|
|
};
|
|
|
|
#endif /* __NETNS_XDP_H__ */
|