tipc: Fix bug in broadcast link transmit statistics computation
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 17 Aug 2010 11:00:10 +0000 (11:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Aug 2010 00:31:55 +0000 (17:31 -0700)
commit0048b826afae7c47afdc47c3854707581cafe3d8
tree72259c47f6e75c669a106b35bd1597a1b54b22d3
parent5b1f7bdeb698547cc319c7a302a5acf585227a92
tipc: Fix bug in broadcast link transmit statistics computation

Modify TIPC's broadcast link so that it counts each piece of a
fragmented message individually, rather than as treating the group
as a single message.  This ensures that proper correlation of sent
and received traffic can be done when the broadcast link statistics
are displayed, and is consistent with the way fragments are counted
by TIPC's unicast links.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bcast.c