From: Jay Vosburgh Date: Sat, 20 Jan 2007 02:15:31 +0000 (-0800) Subject: bonding: fix device name allocation error X-Git-Tag: v2.6.21-rc1~92^2~31^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4b91c484611da385e34ff0f8bb2744ae2c735b7;p=pandora-kernel.git bonding: fix device name allocation error The code to select names for the bonding interfaces was, for the non-sysfs creation case, always using a hard-coded set of bond0, bond1, etc, up to max_bonds. This caused conflicts for the second or subsequent loads of the module. Changed the code to obtain device names from dev_alloc_name(). Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed