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

From: BjÃrn Mork
Date: Tue Jan 12 2016 - 16:40:53 EST


David Miller <davem@xxxxxxxxxxxxx> writes:
> From: Lubomir Rintel <lkundrak@xxxxx>
> Date: Tue, 12 Jan 2016 18:19:49 +0100
>
>> It's still an improvement to let the distributions decide if they're
>> keeping "ip link add" broken or possibly affecting the scripts.
>
> That it is "broken" is your opinion.
>
> Document the behavior. It is not broken if the user is told to be
> mindful of what devices are created by default.
>
> There is way too much downside to changing this.

Besides, distributions or admins can already change that behaviour if
they consider it "broken", using the existing module parameter:

# echo "options bonding max_bonds=0" >/etc/modprobe.d/bonding.conf
# rmmod bonding
# ip link add bond0 type bond
(no error here)

This method should be well known and understood by most users, contrary
to some odd CONFIG_ build time setting.


BjÃrn