Herbert Xu wrote:
> On Fri, Nov 30, 2007 at 09:26:58PM +0300, Pavel Emelyanov wrote:
>> Besides, the inet_device is passed to this function, but
>> it is not needed there at all - just the device name and
>> ifindex are required.
>
> But it is called devinet_* so an in_dev kind of makes sense :)
>
>> #ifdef CONFIG_SYSCTL
>> - devinet_sysctl_register(in_dev, &in_dev->cnf);
>> + devinet_sysctl_register(dev, &in_dev->cnf);
>
> How about just giving it in_dev instead?
Hmm... Makes sense. Should I recreate the while set or
just make the incremental one?
> Thanks,
Thanks,
Pavel