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 (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>
2012-11-21 11:55:07 -05:00
..
2012-07-24 13:54:16 -07:00
2012-08-03 20:32:31 -07:00
2012-11-20 15:51:55 -05:00
2012-09-01 22:44:13 -04:00
2012-11-20 15:51:55 -05:00
2012-11-13 14:33:28 -05:00
2012-10-02 14:37:31 -04:00
2012-10-01 18:39:45 -04:00