From: Amerigo Wang Date: Thu, 14 Jun 2012 22:39:27 +0000 (+0000) Subject: bonding: show all the link status of slaves X-Git-Tag: v3.5-rc5~17^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df2bcc4af2616b18efeaa3d044fe15ce891c5d21;p=pandora-kernel.git bonding: show all the link status of slaves There are four link statuses of a bonding slave, the procfs code shows a wrong status when using downdelay/updelay: (slave->link == BOND_LINK_UP) ? "up" : "down" It doesn't respect the rest two statuses. This patch fixes it. Cc: Jay Vosburgh Cc: Andy Gospodarek Cc: "David S. Miller" Signed-off-by: Cong Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed