From: Jiri Pirko Date: Wed, 21 Nov 2012 02:34:45 +0000 (+0000) Subject: team: bcast: convert return value of team_dev_queue_xmit() to bool correctly X-Git-Tag: v3.7-rc7~22^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=403f43c937d24832b18524f65415c0bbba6b5064;p=pandora-kernel.git 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 Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- Reading git-diff-tree failed