diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2011-10-26 15:57:26 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-02-06 16:59:17 -0500 |
commit | 0232c5a566ff52d5c9fc1dda70253c942628ca66 (patch) | |
tree | a5982df381c212b870c34f2cb17e7e6eb2079ed0 | |
parent | 8a275a6a30ba871eb34ea41c1fbb507039f4c0dc (diff) | |
download | op-kernel-dev-0232c5a566ff52d5c9fc1dda70253c942628ca66.zip op-kernel-dev-0232c5a566ff52d5c9fc1dda70253c942628ca66.tar.gz |
tipc: Fix bug in broadcast link duplicate message statistics
Modifies broadcast link so that it increments the "received duplicate
message" count if an incoming message cannot be added to the deferred
message queue because it is already present in the queue. (The aligns
broadcast link behavior with that of TIPC's unicast links.)
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r-- | net/tipc/bcast.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index e7df313..035b350 100644 --- a/net/tipc/bcast.c +++ b/net/tipc/bcast.c @@ -603,6 +603,8 @@ receive: if (deferred) bcl->stats.deferred_recv++; + else + bcl->stats.duplicates++; unlock: tipc_node_unlock(node); |