Skip to content
Snippets Groups Projects
Commit 0232c5a5 authored by Allan Stephens's avatar Allan Stephens Committed by Paul Gortmaker
Browse files

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: default avatarAllan Stephens <allan.stephens@windriver.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 8a275a6a
No related branches found
No related tags found
No related merge requests found
......@@ -603,6 +603,8 @@ void tipc_bclink_recv_pkt(struct sk_buff *buf)
if (deferred)
bcl->stats.deferred_recv++;
else
bcl->stats.duplicates++;
unlock:
tipc_node_unlock(node);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment