提交 0232c5a5 编写于 作者: A Allan Stephens 提交者: Paul Gortmaker

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: NAllan Stephens <allan.stephens@windriver.com>
Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
上级 8a275a6a
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册