quota2: extend locked period during cleanup

This commit is contained in:
Jan Engelhardt
2009-07-04 02:11:25 +02:00
parent 4bf667d8eb
commit dd26ab476c
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
- build: support for Linux 2.6.31-rc1
- quota2: support anonymous counters
- quota2: reduce memory footprint for anonymous counters
- quota2: extend locked period during cleanup (locking bugfix)
Xtables-addons 1.17 (June 16 2009)

View File

@@ -185,8 +185,8 @@ static void quota_mt2_destroy(const struct xt_mtdtor_param *par)
}
list_del(&e->list);
spin_unlock_bh(&counter_list_lock);
remove_proc_entry(e->name, proc_xt_quota);
spin_unlock_bh(&counter_list_lock);
kfree(e);
}