diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index 3ca3d9ee78a9e64cb652c1e6b785d27471f62d73..4688969398434d51135817b7fde491d36684817f 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, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct sk_buff *)) { - return okfn(*pskb); + return 1; } static inline void nf_ct_attach(struct sk_buff *new, struct sk_buff *skb) {} struct flowi;