summaryrefslogtreecommitdiffstats
path: root/kernel/include
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-20 22:24:03 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-20 22:24:03 +0100
commiteb873d2fc5240a873bc52d0cc57e4062288b291b (patch)
treef1bc2488eeef7654051641586337d45dbc421b3a /kernel/include
parentd08860f0569d20a5b759e5747921d29592bb326c (diff)
Fix module loading at create/header commands
While holding the nfnl_mutex, module loading is not allowed. Bug spotted by Patrick McHardy in his reviewing.
Diffstat (limited to 'kernel/include')
-rw-r--r--kernel/include/linux/netfilter/ipset/ip_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/include/linux/netfilter/ipset/ip_set.h b/kernel/include/linux/netfilter/ipset/ip_set.h
index 61b08f1..fcd2f4d 100644
--- a/kernel/include/linux/netfilter/ipset/ip_set.h
+++ b/kernel/include/linux/netfilter/ipset/ip_set.h
@@ -292,7 +292,7 @@ struct ip_set {
/* References to the set */
atomic_t ref;
/* The core set type */
- const struct ip_set_type *type;
+ struct ip_set_type *type;
/* The type variant doing the real job */
const struct ip_set_type_variant *variant;
/* The actual INET family of the set */