modules registering as sysctl handlers

Muli Ben-Yehuda
2004-03-02T12:30:38Z

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

Hi

Looking at 2.6.3-bk, it appears that the sysctl code does not raise a
module's reference count before calling a sysctl handler registered by
that module.

- are modules allowed to register sysctl handlers?
register_sysctl_table is exported, so I imagine so.

- am I missing something and modules are in fact protected against
concurrent unloading and invocation of sysctl?

Cheers,
Muli
--
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]