summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2015-10-26 18:54:19 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2015-10-26 18:54:19 +0100
commit68afc6a7767d1af4aa5aae89e8dcfc036015c2f3 (patch)
tree12fa433f1f7c0f1eed3f0b6d3a6f1fd6cf884571 /kernel
parent4ed4c5f9f3f5cf007f9d2f168d310e83fb16408a (diff)
Compatibility: make sure vmalloc.h is included for kvfree()
Diffstat (limited to 'kernel')
-rw-r--r--kernel/include/linux/netfilter/ipset/ip_set_compat.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/include/linux/netfilter/ipset/ip_set_compat.h.in b/kernel/include/linux/netfilter/ipset/ip_set_compat.h.in
index aa93c2c..d2cab54 100644
--- a/kernel/include/linux/netfilter/ipset/ip_set_compat.h.in
+++ b/kernel/include/linux/netfilter/ipset/ip_set_compat.h.in
@@ -169,6 +169,7 @@ static inline int nla_put_net64(struct sk_buff *skb, int attrtype, __be64 value)
#endif
#ifndef HAVE_KVFREE
+#include <linux/vmalloc.h>
static inline void kvfree(const void *addr)
{
if (is_vmalloc_addr(addr))