summaryrefslogtreecommitdiffstats
path: root/kernel/net/sched
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/sched')
-rw-r--r--kernel/net/sched/em_ipset.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/net/sched/em_ipset.c b/kernel/net/sched/em_ipset.c
index 87b8419..a4ab08d 100644
--- a/kernel/net/sched/em_ipset.c
+++ b/kernel/net/sched/em_ipset.c
@@ -119,6 +119,9 @@ static int em_ipset_match(struct sk_buff *skb, struct tcf_ematch *em,
indev = dev_get_by_index_rcu(dev_net(dev), skb->skb_iif);
#endif
+#ifdef HAVE_NET_IN_XT_ACTION_PARAM
+ acpar.net = em->net;
+#endif
acpar.in = indev ? indev : dev;
acpar.out = dev;