Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279102
b: refs/heads/master
c: 2b78f9a
h: refs/heads/master
v: v3
  • Loading branch information
Allan Stephens authored and Paul Gortmaker committed Dec 27, 2011
1 parent 9ad7b3c commit 239e653
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd3decdfd1dbab8a585eafe2e5b9866f193de99e
refs/heads/master: 2b78f9a002dccc587912af4da3bf1db86909de91
8 changes: 7 additions & 1 deletion trunk/net/tipc/bcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,13 +417,19 @@ int tipc_bclink_send_msg(struct sk_buff *buf)

spin_lock_bh(&bc_lock);

if (!bclink->bcast_nodes.count) {
res = msg_data_sz(buf_msg(buf));
buf_discard(buf);
goto exit;
}

res = tipc_link_send_buf(bcl, buf);
if (likely(res > 0))
bclink_set_last_sent();

bcl->stats.queue_sz_counts++;
bcl->stats.accu_queue_sz += bcl->out_queue_size;

exit:
spin_unlock_bh(&bc_lock);
return res;
}
Expand Down

0 comments on commit 239e653

Please sign in to comment.