]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/tipc/node.c
tipc: Add routines for safe checking of node's network address
[karo-tx-linux.git] / net / tipc / node.c
index a34cabc2c43a48d3ef2250f57bda634a0fc4db9c..6a71bea91db0a8332b96b30d5b5ac85b20aaab9c 100644 (file)
@@ -72,7 +72,7 @@ struct tipc_node *tipc_node_find(u32 addr)
        struct tipc_node *node;
        struct hlist_node *pos;
 
-       if (unlikely(!in_own_cluster(addr)))
+       if (unlikely(!in_own_cluster_exact(addr)))
                return NULL;
 
        hlist_for_each_entry(node, pos, &node_htable[tipc_hashfn(addr)], hash) {