linux/drivers/net/team
Jiri Pirko 403f43c937 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 (5fc889911a)

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>
2012-11-21 11:55:07 -05:00
..
Kconfig team: add support for non-ethernet devices 2012-08-20 02:40:48 -07:00
Makefile team: add broadcast mode 2012-07-12 08:08:20 -07:00
team.c team: set qdisc_tx_busylock to avoid LOCKDEP splat 2012-10-04 15:53:48 -04:00
team_mode_activebackup.c team: add netpoll support 2012-07-17 09:02:36 -07:00
team_mode_broadcast.c team: bcast: convert return value of team_dev_queue_xmit() to bool correctly 2012-11-21 11:55:07 -05:00
team_mode_loadbalance.c team: add netpoll support 2012-07-17 09:02:36 -07:00
team_mode_roundrobin.c team: add support for non-ethernet devices 2012-08-20 02:40:48 -07:00