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

netfilter: add includes to nf_socket.h

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>

authored by

Máté Eckl and committed by
Pablo Neira Ayuso
e5a10bb2 5b79c2af

+2 -4
+2 -4
include/net/netfilter/nf_socket.h
··· 2 2 #ifndef _NF_SOCK_H_ 3 3 #define _NF_SOCK_H_ 4 4 5 - struct net_device; 6 - struct sk_buff; 7 - struct sock; 8 - struct net; 5 + #include <net/sock.h> 6 + #include <net/inet_timewait_sock.h> 9 7 10 8 static inline bool nf_sk_is_transparent(struct sock *sk) 11 9 {