Skip to content

Commit e5a10bb

Browse files
ecklmummakynes
authored andcommitted
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>
1 parent 5b79c2a commit e5a10bb

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎include/net/netfilter/nf_socket.h‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
#ifndef _NF_SOCK_H_
33
#define _NF_SOCK_H_
44

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>
97

108
static inline bool nf_sk_is_transparent(struct sock *sk)
119
{

0 commit comments

Comments
 (0)