From 833fe96bca25772e41b7e21117225c1c9d5a23ab Mon Sep 17 00:00:00 2001 From: Allan Stephens Date: Tue, 17 Aug 2010 11:00:10 +0000 Subject: [PATCH] --- yaml --- r: 213825 b: refs/heads/master c: 0048b826afae7c47afdc47c3854707581cafe3d8 h: refs/heads/master i: 213823: 074bdce7e4c33c6c63d931e604d95ac9b05a1e96 v: v3 --- [refs] | 2 +- trunk/net/tipc/bcast.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index afe0849df47d..934b2a2022e3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5b1f7bdeb698547cc319c7a302a5acf585227a92 +refs/heads/master: 0048b826afae7c47afdc47c3854707581cafe3d8 diff --git a/trunk/net/tipc/bcast.c b/trunk/net/tipc/bcast.c index eefdd1a85f4f..b11248c2d788 100644 --- a/trunk/net/tipc/bcast.c +++ b/trunk/net/tipc/bcast.c @@ -409,10 +409,8 @@ int tipc_bclink_send_msg(struct sk_buff *buf) res = tipc_link_send_buf(bcl, buf); if (unlikely(res == -ELINKCONG)) buf_discard(buf); - else { - bcl->stats.sent_info++; + else bclink_set_last_sent(); - } if (bcl->out_queue_size > bcl->stats.max_queue_sz) bcl->stats.max_queue_sz = bcl->out_queue_size; @@ -578,6 +576,7 @@ static int tipc_bcbearer_send(struct sk_buff *buf, msg = buf_msg(buf); msg_set_non_seq(msg, 1); msg_set_mc_netid(msg, tipc_net_id); + bcl->stats.sent_info++; } /* Send buffer over bearers until all targets reached */