diff options
author | 2013-06-20 14:34:13 +0200 | |
---|---|---|
committer | 2013-06-24 00:04:55 -0700 | |
commit | db4e9b2b98bac7adc7657ef94bb6d1a419a35571 (patch) | |
tree | 896bf67806e257d30d754b0498b07a5253f991ba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/mlx_en: Timestamping is not supported in slave mode (diff) | |
download | linux-dev-db4e9b2b98bac7adc7657ef94bb6d1a419a35571.tar.xz linux-dev-db4e9b2b98bac7adc7657ef94bb6d1a419a35571.zip |
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 <nikolay@redhat.com>
Acked-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions