aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
index 3ca3d9ee78a9..468896939843 100644
--- a/include/linux/netfilter.h
+++ b/include/linux/netfilter.h
@@ -318,7 +318,7 @@ static inline int nf_hook(int pf, unsigned int hook, struct sk_buff **pskb,
318 struct net_device *indev, struct net_device *outdev, 318 struct net_device *indev, struct net_device *outdev,
319 int (*okfn)(struct sk_buff *)) 319 int (*okfn)(struct sk_buff *))
320{ 320{
321 return okfn(*pskb); 321 return 1;
322} 322}
323static inline void nf_ct_attach(struct sk_buff *new, struct sk_buff *skb) {} 323static inline void nf_ct_attach(struct sk_buff *new, struct sk_buff *skb) {}
324struct flowi; 324struct flowi;