Re: [PATCH 1/3] ifb: make device count build-time configurable

From: Lubomir Rintel
Date: Tue Jan 12 2016 - 10:44:00 EST


On Tue, 2016-01-12 at 16:35 +0100, Daniel Borkmann wrote:
> On 01/12/2016 04:19 PM, Daniel Borkmann wrote:
> > On 01/12/2016 12:56 PM, Lubomir Rintel wrote:
...
> > > -static int numifbs = 2;
> > ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ^^^^^^^^^^^^
> > > +static int numifbs = CONFIG_IFB_COUNT;
> > > Â module_param(numifbs, int, 0);
> > > Â MODULE_PARM_DESC(numifbs, "Number of ifb devices");
>
> Btw, perhaps there should also be a pr_info() or the like to warn the user
> that relying on modprobe creating these devs is deprecated and scheduled
> for removal in future, so they should switch to ip link instead ...

I don't know, is it actually is scheduled for removal?

I was under impression that changes in default behavior users can rely
on are generally near impossible to do since the potential problems
largely outweigh the benefits. The distributions will do the changes in
their kernels anyway and changing behavior on kernel upgrades in random
old systems might be risky.

That said, it's just an impression. I don't follow the development
closely enough to be sure about anything.

Lubo