aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/bcast.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/bcast.c')
-rw-r--r--net/tipc/bcast.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c
index 8f58df24bac5..dd990b081435 100644
--- a/net/tipc/bcast.c
+++ b/net/tipc/bcast.c
@@ -424,11 +424,11 @@ int tipc_bclink_send_msg(struct sk_buff *buf)
424 } 424 }
425 425
426 res = tipc_link_send_buf(bcl, buf); 426 res = tipc_link_send_buf(bcl, buf);
427 if (likely(res > 0)) 427 if (likely(res >= 0)) {
428 bclink_set_last_sent(); 428 bclink_set_last_sent();
429 429 bcl->stats.queue_sz_counts++;
430 bcl->stats.queue_sz_counts++; 430 bcl->stats.accu_queue_sz += bcl->out_queue_size;
431 bcl->stats.accu_queue_sz += bcl->out_queue_size; 431 }
432exit: 432exit:
433 spin_unlock_bh(&bc_lock); 433 spin_unlock_bh(&bc_lock);
434 return res; 434 return res;