aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r--net/tipc/node.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c
index 26d1de1bf34d..5cc43d34ad0a 100644
--- a/net/tipc/node.c
+++ b/net/tipc/node.c
@@ -459,7 +459,7 @@ void tipc_node_unlock(struct tipc_node *node)
459 TIPC_NOTIFY_NODE_DOWN | TIPC_NOTIFY_NODE_UP | 459 TIPC_NOTIFY_NODE_DOWN | TIPC_NOTIFY_NODE_UP |
460 TIPC_NOTIFY_LINK_DOWN | TIPC_NOTIFY_LINK_UP | 460 TIPC_NOTIFY_LINK_DOWN | TIPC_NOTIFY_LINK_UP |
461 TIPC_WAKEUP_BCAST_USERS | TIPC_BCAST_MSG_EVT | 461 TIPC_WAKEUP_BCAST_USERS | TIPC_BCAST_MSG_EVT |
462 TIPC_NAMED_MSG_EVT); 462 TIPC_NAMED_MSG_EVT | TIPC_BCAST_RESET);
463 463
464 spin_unlock_bh(&node->lock); 464 spin_unlock_bh(&node->lock);
465 465
@@ -488,6 +488,9 @@ void tipc_node_unlock(struct tipc_node *node)
488 488
489 if (flags & TIPC_BCAST_MSG_EVT) 489 if (flags & TIPC_BCAST_MSG_EVT)
490 tipc_bclink_input(net); 490 tipc_bclink_input(net);
491
492 if (flags & TIPC_BCAST_RESET)
493 tipc_link_reset_all(node);
491} 494}
492 495
493/* Caller should hold node lock for the passed node */ 496/* Caller should hold node lock for the passed node */