diff options
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r-- | net/tipc/node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index 9196f943b835..6d8bdfd95cd6 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -339,12 +339,12 @@ static void node_lost_contact(struct tipc_node *n_ptr) | |||
339 | /* Flush broadcast link info associated with lost node */ | 339 | /* Flush broadcast link info associated with lost node */ |
340 | 340 | ||
341 | if (n_ptr->bclink.supported) { | 341 | if (n_ptr->bclink.supported) { |
342 | n_ptr->bclink.gap_after = n_ptr->bclink.gap_to = 0; | ||
343 | while (n_ptr->bclink.deferred_head) { | 342 | while (n_ptr->bclink.deferred_head) { |
344 | struct sk_buff *buf = n_ptr->bclink.deferred_head; | 343 | struct sk_buff *buf = n_ptr->bclink.deferred_head; |
345 | n_ptr->bclink.deferred_head = buf->next; | 344 | n_ptr->bclink.deferred_head = buf->next; |
346 | buf_discard(buf); | 345 | buf_discard(buf); |
347 | } | 346 | } |
347 | n_ptr->bclink.deferred_size = 0; | ||
348 | 348 | ||
349 | if (n_ptr->bclink.defragm) { | 349 | if (n_ptr->bclink.defragm) { |
350 | buf_discard(n_ptr->bclink.defragm); | 350 | buf_discard(n_ptr->bclink.defragm); |
@@ -450,7 +450,7 @@ struct sk_buff *tipc_node_get_links(const void *req_tlv_area, int req_tlv_space) | |||
450 | 450 | ||
451 | read_lock_bh(&tipc_net_lock); | 451 | read_lock_bh(&tipc_net_lock); |
452 | 452 | ||
453 | /* Get space for all unicast links + multicast link */ | 453 | /* Get space for all unicast links + broadcast link */ |
454 | 454 | ||
455 | payload_size = TLV_SPACE(sizeof(link_info)) * | 455 | payload_size = TLV_SPACE(sizeof(link_info)) * |
456 | (atomic_read(&tipc_num_links) + 1); | 456 | (atomic_read(&tipc_num_links) + 1); |