X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=net%2Ftipc%2Fnode.c;h=e01e2c71b5a16fde975b6e87bd134ae57cd57326;hb=e7142c341c9ce3678f3533a2cfbf8477a09a95ad;hp=d903f560e2fd28086febe52fbf216170b9ee2e19;hpb=f893a99e7e2125ed7874d69cb309ca40a0bea371;p=cascardo%2Flinux.git diff --git a/net/tipc/node.c b/net/tipc/node.c index d903f560e2fd..e01e2c71b5a1 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c @@ -542,7 +542,7 @@ static void __tipc_node_link_up(struct tipc_node *n, int bearer_id, struct tipc_link *ol = node_active_link(n, 0); struct tipc_link *nl = n->links[bearer_id].link; - if (!nl) + if (!nl || tipc_link_is_up(nl)) return; tipc_link_fsm_evt(nl, LINK_ESTABLISH_EVT);