diff options
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r-- | net/tipc/node.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index 6f3e9b35d27f..283a59f0f1c8 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -266,7 +266,7 @@ static void node_established_contact(struct tipc_node *n_ptr) | |||
266 | 266 | ||
267 | n_ptr->bclink.acked = tipc_bclink_get_last_sent(); | 267 | n_ptr->bclink.acked = tipc_bclink_get_last_sent(); |
268 | tipc_bclink_add_node(n_ptr->addr); | 268 | tipc_bclink_add_node(n_ptr->addr); |
269 | n_ptr->bclink.supported = 1; | 269 | n_ptr->bclink.recv_permitted = true; |
270 | } | 270 | } |
271 | 271 | ||
272 | static void node_name_purge_complete(unsigned long node_addr) | 272 | static void node_name_purge_complete(unsigned long node_addr) |
@@ -292,7 +292,7 @@ static void node_lost_contact(struct tipc_node *n_ptr) | |||
292 | tipc_addr_string_fill(addr_string, n_ptr->addr)); | 292 | tipc_addr_string_fill(addr_string, n_ptr->addr)); |
293 | 293 | ||
294 | /* Flush broadcast link info associated with lost node */ | 294 | /* Flush broadcast link info associated with lost node */ |
295 | if (n_ptr->bclink.supported) { | 295 | if (n_ptr->bclink.recv_permitted) { |
296 | while (n_ptr->bclink.deferred_head) { | 296 | while (n_ptr->bclink.deferred_head) { |
297 | struct sk_buff *buf = n_ptr->bclink.deferred_head; | 297 | struct sk_buff *buf = n_ptr->bclink.deferred_head; |
298 | n_ptr->bclink.deferred_head = buf->next; | 298 | n_ptr->bclink.deferred_head = buf->next; |
@@ -308,7 +308,7 @@ static void node_lost_contact(struct tipc_node *n_ptr) | |||
308 | tipc_bclink_remove_node(n_ptr->addr); | 308 | tipc_bclink_remove_node(n_ptr->addr); |
309 | tipc_bclink_acknowledge(n_ptr, INVALID_LINK_SEQ); | 309 | tipc_bclink_acknowledge(n_ptr, INVALID_LINK_SEQ); |
310 | 310 | ||
311 | n_ptr->bclink.supported = 0; | 311 | n_ptr->bclink.recv_permitted = false; |
312 | } | 312 | } |
313 | 313 | ||
314 | /* Abort link changeover */ | 314 | /* Abort link changeover */ |