tipc: Minor optimization of broadcast link transmit queue statistic
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 24 Oct 2011 17:27:31 +0000 (13:27 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:33:51 +0000 (11:33 -0500)
The two broadcast link statistics fields that are used to derive the
average length of that link's transmit queue are now updated only after
a successful attempt to send a broadcast message, since there is no need
to update these values when an unsuccessful send attempt leaves the
queue unchanged.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

No differences found