projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b79c2a
)
netfilter: add includes to nf_socket.h
author
Máté Eckl
<ecklm94@gmail.com>
Wed, 23 May 2018 14:26:35 +0000
(16:26 +0200)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Mon, 28 May 2018 22:23:58 +0000
(
00:23
+0200)
These have to be included always when nf_socket.h is included.
Signed-off-by: Máté Eckl <ecklm94@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_socket.h
patch
|
blob
|
history
diff --git
a/include/net/netfilter/nf_socket.h
b/include/net/netfilter/nf_socket.h
index 8230fefff9f5ebd5143c72d0aac61414c4f21695..29b6313f0557e9238b794a7d7569b075042ab72a 100644
(file)
--- a/
include/net/netfilter/nf_socket.h
+++ b/
include/net/netfilter/nf_socket.h
@@
-2,10
+2,8
@@
#ifndef _NF_SOCK_H_
#define _NF_SOCK_H_
-struct net_device;
-struct sk_buff;
-struct sock;
-struct net;
+#include <net/sock.h>
+#include <net/inet_timewait_sock.h>
static inline bool nf_sk_is_transparent(struct sock *sk)
{