Eric W. Biederman 938aaa4f92 sysctl: Initial support for auto-unregistering sysctl tables.
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>
2012-01-24 16:40:28 -08:00
..
2012-01-03 22:54:56 -05:00
2011-01-13 08:03:17 -08:00
2012-01-03 22:57:13 -05:00
2011-01-13 17:32:43 -08:00
2012-01-03 22:54:56 -05:00