diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2011-10-26 21:57:26 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-02-06 22:59:17 +0100 |
commit | 0232c5a566ff52d5c9fc1dda70253c942628ca66 (patch) | |
tree | a5982df381c212b870c34f2cb17e7e6eb2079ed0 /net/tipc | |
parent | tipc: Fix node lock reclamation issues in broadcast link reception (diff) | |
download | linux-0232c5a566ff52d5c9fc1dda70253c942628ca66.tar.xz linux-0232c5a566ff52d5c9fc1dda70253c942628ca66.zip |
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>
Diffstat (limited to 'net/tipc')
-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 e7df313020ce..035b350be5c6 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); |