summaryrefslogtreecommitdiffstats
path: root/tests/hash:net.t.list0
diff options
context:
space:
mode:
authorSerhey Popovych <serhe.popovych@gmail.com>2019-11-29 11:21:32 +0200
committerJozsef Kadlecsik <kadlec@netfilter.org>2019-12-09 11:07:02 +0100
commita065f8ed355f08131c39787b4c7a41543ff643b3 (patch)
tree5bc04778f2d526dd57b783dc5bc570fa34659a76 /tests/hash:net.t.list0
parent4eda9fd68157c444f70541bd10fde3c36e09f0f1 (diff)
em_ipset: Build on old kernels
Make sure TCF_EM_IPSET defined and corresponds to current upstream value if not defined in target kernel. You need iproute2 version that supports em_ipset to communicate correctly. Include ip_set_compat.h after pkt_cls.h to prevent TCF_EM_IPSET redefine error. Detect skb->iif => skb->skb_iif rename after commit 8964be4a9a5c ("net: rename skb->iif to skb->skb_iif"). Add dev_get_by_index_rcu() define pointing to __dev_get_by_index() to build on RHEL6 kernels with explicit note that this may not work on all architectures. Always build em_ipset regardless of CONFIG_NET_EMATCH_IPSET option. Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com> Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Diffstat (limited to 'tests/hash:net.t.list0')
0 files changed, 0 insertions, 0 deletions