Skip to content
Commit 938aaa4f authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

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: default avatarEric W. Biederman <ebiederm@xmission.com>
parent 3cc3e046
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment