]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
netfilter: add includes to nf_socket.h
authorMáté Eckl <ecklm94@gmail.com>
Wed, 23 May 2018 14:26:35 +0000 (16:26 +0200)
committerPablo 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

index 8230fefff9f5ebd5143c72d0aac61414c4f21695..29b6313f0557e9238b794a7d7569b075042ab72a 100644 (file)
@@ -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)
 {