From: Nikolay Aleksandrov Date: Thu, 20 Jun 2013 12:34:13 +0000 (+0200) Subject: bonding: fix slave speed reporting in bond_miimon_commit X-Git-Tag: v3.10~13^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db4e9b2b98bac7adc7657ef94bb6d1a419a35571;p=pandora-kernel.git bonding: fix slave speed reporting in bond_miimon_commit When we have BOND_LINK_UP the speed is reported unconditionally with %u format although it can be SPEED_UNKNOWN (-1). After this patch it returns 0 in that case in an attempt to keep the existing scripts happy. One line is intenionally left 81 chars because it gets ugly if broken. Signed-off-by: Nikolay Aleksandrov Acked-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed