diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-01-20 22:24:03 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-01-20 22:24:03 +0100 |
commit | eb873d2fc5240a873bc52d0cc57e4062288b291b (patch) | |
tree | f1bc2488eeef7654051641586337d45dbc421b3a /kernel/include | |
parent | d08860f0569d20a5b759e5747921d29592bb326c (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.h | 2 |
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 */ |