summaryrefslogtreecommitdiff
path: root/net/bonding.sh
Commit message (Collapse)AuthorAge
* net/bonding: ensure mode & miimon are handled correctly.Robin H. Johnson2012-12-20
| | | | | | | | | | miimon & mode must be set before other parameters, and then not changed again. Prior commit f671e0a28 per bug #421757 introduced a small logic error. Fixed & refactored to prevent it happening as easily. X-Gentoo-Bug: 447790 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=447790 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net/bonding: checkbashisms.Robin H. Johnson2012-11-06
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Oldnet: bonding: set miimon correctlyLorand Kelemen2012-10-17
| | | | | | | Miimon needs to be activated before downdelay is set. X-Gentoo-Bug: 421757 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=421757
* net/bonding: Sanity-check sysfs usageRobin H. Johnson2012-10-11
| | | | | | | | If sysfs is not available, you might still be able to create bond interfaces, but only in very specific configurations, and you must have the ifenslave binary instead to call ioctls. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net/bonding: subsume functionality for NFS bootingRobin H. Johnson2012-10-11
| | | | | | | | | | | If the kernel is NFS-booting, it is critical that we don't down the slave interfaces when we activate the bond. To do so will break the root filesystem when networking is temporarily lost. Reported-by: Walter <walter@pratyeka.org> X-Gentoo-Bug: 428604 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=428604 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* WhitespaceChristian Ruppert2012-01-26
|
* net/bonding: Fix which interface IPs get added to.Robin H. Johnson2012-01-25
| | | | | | | | | | The previous bonding change of ensuring interfaces were down to add slave interfaces, but it clobbered the IFACE variable, because it was being passed to a bash function rather than a command. X-Gentoo-Bug: 400613 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=400613 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net/bonding: ensure slave interfaces are down before adding.Robin H. Johnson2011-12-12
| | | | | | | | | | | | The old ifenslave binary forcibly set new slave interface to down before adding into the kernel, as a way of show it's version to the kernel. We need to duplicate this so that the kernel doesn't think it's an old ifenslave version using the bonding setup interface. X-Gentoo-Bug: 391881 X-Gentoo-Bug-URL: https://bugs.gentoo.org/391881 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Thanks-to: Yun Zheng Hu <hu@fox-it.com>
* drop useless "All rights reserved" noticeMike Frysinger2011-06-29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* net:bonding small style change for readabilityWilliam Hubbs2011-05-16
|
* Do not add slaves to bond interface if they are already addedKfir Lavi2011-05-16
| | | | | | X-Gentoo-Bug: 366653 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=366653 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* net: bonding: avoid using bash string replaceMike Frysinger2011-03-18
| | | | | | | X-Gentoo-Bug: 359311 X-Gentoo-Bug-URL: http://bugs.gentoo.org/359311 Reported-by: Raffaello D. Di Napoli <fastijum@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* more whitespace cleanupMike Frysinger2011-01-17
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ensure bonding interface is down before we attempt to configure, alsoJory A. Pratt2010-10-31
| | | | | mode has to be configure before any other arguements are passed. Thanks Ed Wildgoose <gentoo@wildgooses.com> for patch.
* Fixes bug #332383. Thanks Lutz Heermann.Anthony G. Basile2010-08-13
|
* Fix bug #332181. Thanks Lutz Heermann.Anthony G. Basile2010-08-13
|
* Try and describe bonding errors a bit more.Roy Marples2010-03-24
|
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Allow configuration of bond via extra sysfs entries, #105.Roy Marples2008-09-19
|
* Enable bonding via sysfs, #104 thanks to Wolfram SchlichRoy Marples2008-09-18
|
* Merge net.OS into netRoy Marples2008-03-26