diff options
Diffstat (limited to 'net/tipc/bcast.c')
| -rw-r--r-- | net/tipc/bcast.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index 08e3216a33d2..fa68d1e9ff4b 100644 --- a/net/tipc/bcast.c +++ b/net/tipc/bcast.c | |||
| @@ -407,9 +407,7 @@ int tipc_bclink_send_msg(struct sk_buff *buf) | |||
| 407 | spin_lock_bh(&bc_lock); | 407 | spin_lock_bh(&bc_lock); |
| 408 | 408 | ||
| 409 | res = tipc_link_send_buf(bcl, buf); | 409 | res = tipc_link_send_buf(bcl, buf); |
| 410 | if (unlikely(res == -ELINKCONG)) | 410 | if (likely(res > 0)) |
| 411 | buf_discard(buf); | ||
| 412 | else | ||
| 413 | bclink_set_last_sent(); | 411 | bclink_set_last_sent(); |
| 414 | 412 | ||
| 415 | bcl->stats.queue_sz_counts++; | 413 | bcl->stats.queue_sz_counts++; |
