tipc: Avoid reliable broadcast preparation for NACK messages
authorAllan Stephens <Allan.Stephens@windriver.com>
Tue, 25 Jan 2011 21:12:39 +0000 (16:12 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 23 Feb 2011 23:05:23 +0000 (18:05 -0500)
commitbf781ecfc6d6ecc4f66762a870f9c1fc76b9c8d5
tree93fdb836a5bbcd6eff25a2f0ba1f2d10d0e92c2b
parent2e07dda1659095115e5e36a2fed0fddc1e3ea1c8
tipc: Avoid reliable broadcast preparation for NACK messages

Enhance TIPC to skip unnecessary (and, in some cases, redundant)
preparation work when sending a broadcast link NACK message, since this
preparation is only required for broadcast messages that are sent in a
reliable manner. This change also fixes a bug that caused NACK messages
to be improperly counted as "TX packets" in TIPC's broadcast link
statistics.

Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/bcast.c