diff options
Diffstat (limited to 'net/tipc/bcast.c')
| -rw-r--r-- | net/tipc/bcast.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index eefdd1a85f4f..b11248c2d788 100644 --- a/net/tipc/bcast.c +++ b/net/tipc/bcast.c | |||
| @@ -409,10 +409,8 @@ int tipc_bclink_send_msg(struct sk_buff *buf) | |||
| 409 | res = tipc_link_send_buf(bcl, buf); | 409 | res = tipc_link_send_buf(bcl, buf); |
| 410 | if (unlikely(res == -ELINKCONG)) | 410 | if (unlikely(res == -ELINKCONG)) |
| 411 | buf_discard(buf); | 411 | buf_discard(buf); |
| 412 | else { | 412 | else |
| 413 | bcl->stats.sent_info++; | ||
| 414 | bclink_set_last_sent(); | 413 | bclink_set_last_sent(); |
| 415 | } | ||
| 416 | 414 | ||
| 417 | if (bcl->out_queue_size > bcl->stats.max_queue_sz) | 415 | if (bcl->out_queue_size > bcl->stats.max_queue_sz) |
| 418 | bcl->stats.max_queue_sz = bcl->out_queue_size; | 416 | bcl->stats.max_queue_sz = bcl->out_queue_size; |
| @@ -578,6 +576,7 @@ static int tipc_bcbearer_send(struct sk_buff *buf, | |||
| 578 | msg = buf_msg(buf); | 576 | msg = buf_msg(buf); |
| 579 | msg_set_non_seq(msg, 1); | 577 | msg_set_non_seq(msg, 1); |
| 580 | msg_set_mc_netid(msg, tipc_net_id); | 578 | msg_set_mc_netid(msg, tipc_net_id); |
| 579 | bcl->stats.sent_info++; | ||
| 581 | } | 580 | } |
| 582 | 581 | ||
| 583 | /* Send buffer over bearers until all targets reached */ | 582 | /* Send buffer over bearers until all targets reached */ |
