libmicrohttpd: build parallel
[feed/packages.git] / net / openvswitch / patches / 0010-patch-nf_ip_hook-4.1.patch
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)
6
7 static unsigned int nf_ip_hook(FIRST_PARAM
8 struct sk_buff *skb,
9 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)
10 + const struct nf_hook_state *state
11 +#else
12 const struct net_device *in,
13 const struct net_device *out,
14 - int (*okfn)(struct sk_buff *))
15 + int (*okfn)(struct sk_buff *)
16 +#endif
17 + )
18 {
19 struct stt_sock *stt_sock;
20 int ip_hdr_len;