git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cc3e04
)
sysctl: Initial support for auto-unregistering sysctl tables.
author
Eric W. Biederman
<ebiederm@xmission.com>
Tue, 10 Jan 2012 01:24:30 +0000
(17:24 -0800)
committer
Eric W. Biederman
<ebiederm@xmission.com>
Wed, 25 Jan 2012 00:40:28 +0000
(16:40 -0800)
Add nreg to ctl_table_header. When nreg drops to 0 the ctl_table_header
will be unregistered.
Factor out drop_sysctl_table from unregister_sysctl_table, and add
the logic for decrementing nreg.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
No differences found