Hello,

On Wed, 14 Nov 2007, Simon Horman wrote:

> > So, as long as these entries are not
> > accessible from sysctl it is safe to run without strategy handler but if
> > values can be changed then we will need strategy handler to
> > properly call update_defense_level() as done in proc_do_defense_mode()
> > as proc_handler. There could be side effects if new mode is not applied.
> 
> I'm not sure what you are getting at there. I did write a stratergy
> for update_defense_level(), but I didn't post it, as I thought that
> it would not be needed if CTL_UNNUMBERED is used.

        Thanks everyone! I now see that by using CTL_UNNUMBERED
for ctl_name stops any writes to 'data', so there is no need for
'strategy' handler.

Regards

--
Julian Anastasov <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to