Skip to content

Commit

Permalink
netfilter: add includes to nf_socket.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Máté Eckl authored and Pablo Neira Ayuso committed May 28, 2018
1 parent 5b79c2a commit e5a10bb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions include/net/netfilter/nf_socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit e5a10bb

Please sign in to comment.