[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071205.213933.40987728.davem@davemloft.net>
Date: Wed, 05 Dec 2007 21:39:33 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: xemul@...nvz.org, netdev@...r.kernel.org, devel@...nvz.org
Subject: Re: [PATCH net-2.6.25 10/11][INET] Eliminate difference in actions
of sysctl and proc handler for conf.all.forwarding
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Thu, 06 Dec 2007 11:13:39 +1100
> David Miller <davem@...emloft.net> wrote:
> >
> > The user is pretty much screwed in one way or the other.
> > For example:
> >
> > 1) If 'default' propagates to all devices, any specific
> > setting for a device is lost.
> >
> > 2) If 'default' does not propagate, there is no way to
> > have 'default' influence devices which have already
> > been loaded.
>
> Well the way it works on IPv4 currently (for most options) is
> that we'll propagate default settings to a device until either:
>
> 1) the user modifies the setting for that device;
> 2) or that an IPv4 address has been added to the device.
>
> 2) was done to preserve backwards compatibility as the controls
> were previously only available after address addition and we did
> not propagate default settings in that case..
>
> We could easily extend this so that the default propagation
> worked until the user modified the setting, with an ioctl to
> revert to the current behaviour for compatibility.
Ok, this sounds like a good idea.
But we go back again to the question of how to get this "current
behavior" setting instantiated early enough. So much stuff happens
via initrd's etc. before the real userland has a change to run things,
read setting from the real filesystem config giles, in order to change
this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists