From: Krzysztof Piotr Oledzki Date: Wed, 6 Oct 2010 21:28:22 +0000 (-0700) Subject: bonding: reread information about speed and duplex when interface goes up X-Git-Tag: v2.6.37-rc1~147^2~205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=546add79468183f266c75c632c96e4b0029e0d96;p=pandora-kernel.git bonding: reread information about speed and duplex when interface goes up When an interface was enslaved when it was down, bonding thinks it has speed -1 even after it goes up. This leads into selecting a wrong active interface in active/backup mode on mixed 10G/1G or 1G/100M environment. before: bonding: bond0: link status definitely up for interface eth5, 100 Mbps full duplex. bonding: bond0: link status definitely up for interface eth0, 100 Mbps full duplex. after: bonding: bond0: link status definitely up for interface eth5, 10000 Mbps full duplex. bonding: bond0: link status definitely up for interface eth0, 1000 Mbps full duplex. Signed-off-by: Krzysztof Piotr Oledzki Signed-off-by: David S. Miller --- Reading git-diff-tree failed