diff options
author | 2012-11-21 02:34:45 +0000 | |
---|---|---|
committer | 2012-11-21 11:55:07 -0500 | |
commit | 403f43c937d24832b18524f65415c0bbba6b5064 (patch) | |
tree | d4200f7ab5fc11ad0ca71cc11ce22e8e3ed4773b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bonding: Bonding driver does not consider the gso_max_size/gso_max_segs setting of slave devices. (diff) | |
download | linux-dev-403f43c937d24832b18524f65415c0bbba6b5064.tar.xz linux-dev-403f43c937d24832b18524f65415c0bbba6b5064.zip |
team: bcast: convert return value of team_dev_queue_xmit() to bool correctly
The thing is that team_dev_queue_xmit() returns NET_XMIT_* or -E*.
bc_trasmit() should return true in case all went well. So use ! to get
correct retval from team_dev_queue_xmit() result.
This bug caused iface statistics to be badly computed.
This bug was introduced by:
team: add broadcast mode (5fc889911a99043a97da1daa0d010ad72cbc3042)
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
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