1 diff --git a/datapath/linux/compat/stt.c b/datapath/linux/compat/stt.c
2 index b44f470..f95416e 100644
3 --- a/datapath/linux/compat/stt.c
4 +++ b/datapath/linux/compat/stt.c
5 @@ -1326,9 +1326,14 @@ static void clean_percpu(struct work_struct *work)
7 static unsigned int nf_ip_hook(FIRST_PARAM
9 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)
10 + const struct nf_hook_state *state
12 const struct net_device *in,
13 const struct net_device *out,
14 - int (*okfn)(struct sk_buff *))
15 + int (*okfn)(struct sk_buff *)
19 struct stt_sock *stt_sock;