|
@@ -201,18 +201,8 @@ static __net_init int xt_rateest_net_init(struct net *net)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static void __net_exit xt_rateest_net_exit(struct net *net)
|
|
|
-{
|
|
|
- struct xt_rateest_net *xn = net_generic(net, xt_rateest_id);
|
|
|
- int i;
|
|
|
-
|
|
|
- for (i = 0; i < ARRAY_SIZE(xn->hash); i++)
|
|
|
- WARN_ON_ONCE(!hlist_empty(&xn->hash[i]));
|
|
|
-}
|
|
|
-
|
|
|
static struct pernet_operations xt_rateest_net_ops = {
|
|
|
.init = xt_rateest_net_init,
|
|
|
- .exit = xt_rateest_net_exit,
|
|
|
.id = &xt_rateest_id,
|
|
|
.size = sizeof(struct xt_rateest_net),
|
|
|
};
|