android_kernel_xiaomi_sm8350/drivers/net/bonding
Jay Vosburgh b8a9787edd bonding: Allow setting max_bonds to zero
Permit bonding to function rationally if max_bonds is set to
zero.  This will load the module, but create no master devices (which can
be created via sysfs).

	Requires some change to bond_create_sysfs; currently, the
netdev sysfs directory is determined from the first bonding device created,
but this is no longer possible.  Instead, an interface from net/core is
created to create and destroy files in net_class.

	Based on a patch submitted by Phil Oester <kernel@linuxaces.com>.
Modified by Jay Vosburgh to fix the sysfs issue mentioned above and to
update the documentation.

Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-06-18 00:00:04 -04:00
..
bond_3ad.c
bond_3ad.h
bond_alb.c
bond_alb.h
bond_main.c bonding: Allow setting max_bonds to zero 2008-06-18 00:00:04 -04:00
bond_sysfs.c bonding: Allow setting max_bonds to zero 2008-06-18 00:00:04 -04:00
bonding.h bonding: Rework / fix multiple gratuitous ARP support 2008-06-18 00:00:04 -04:00
Makefile