diff options
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r-- | net/tipc/node.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index 389193d7cf67..8a4b04933ecc 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -233,9 +233,6 @@ static struct tipc_node *tipc_node_find(struct net *net, u32 addr) | |||
233 | struct tipc_node *node; | 233 | struct tipc_node *node; |
234 | unsigned int thash = tipc_hashfn(addr); | 234 | unsigned int thash = tipc_hashfn(addr); |
235 | 235 | ||
236 | if (unlikely(!in_own_cluster_exact(net, addr))) | ||
237 | return NULL; | ||
238 | |||
239 | rcu_read_lock(); | 236 | rcu_read_lock(); |
240 | hlist_for_each_entry_rcu(node, &tn->node_htable[thash], hash) { | 237 | hlist_for_each_entry_rcu(node, &tn->node_htable[thash], hash) { |
241 | if (node->addr != addr) | 238 | if (node->addr != addr) |
@@ -836,10 +833,9 @@ void tipc_node_check_dest(struct net *net, u32 onode, | |||
836 | 833 | ||
837 | /* Now create new link if not already existing */ | 834 | /* Now create new link if not already existing */ |
838 | if (!l) { | 835 | if (!l) { |
839 | if (n->link_cnt == 2) { | 836 | if (n->link_cnt == 2) |
840 | pr_warn("Cannot establish 3rd link to %x\n", n->addr); | ||
841 | goto exit; | 837 | goto exit; |
842 | } | 838 | |
843 | if_name = strchr(b->name, ':') + 1; | 839 | if_name = strchr(b->name, ':') + 1; |
844 | if (!tipc_link_create(net, if_name, b->identity, b->tolerance, | 840 | if (!tipc_link_create(net, if_name, b->identity, b->tolerance, |
845 | b->net_plane, b->mtu, b->priority, | 841 | b->net_plane, b->mtu, b->priority, |