From eb873d2fc5240a873bc52d0cc57e4062288b291b Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Thu, 20 Jan 2011 22:24:03 +0100 Subject: 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. --- kernel/include/linux/netfilter/ipset/ip_set.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/include') 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 */ -- cgit v1.2.3