diff options
Diffstat (limited to 'net/tipc/name_distr.c')
-rw-r--r-- | net/tipc/name_distr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/name_distr.c b/net/tipc/name_distr.c index d58dae78b551..f2086f684b34 100644 --- a/net/tipc/name_distr.c +++ b/net/tipc/name_distr.c | |||
@@ -111,8 +111,8 @@ static void named_cluster_distribute(struct sk_buff *buf) | |||
111 | struct tipc_node *n_ptr; | 111 | struct tipc_node *n_ptr; |
112 | u32 n_num; | 112 | u32 n_num; |
113 | 113 | ||
114 | for (n_num = 1; n_num <= tipc_net.highest_node; n_num++) { | 114 | for (n_num = 1; n_num <= tipc_highest_node; n_num++) { |
115 | n_ptr = tipc_net.nodes[n_num]; | 115 | n_ptr = tipc_nodes[n_num]; |
116 | if (n_ptr && tipc_node_has_active_links(n_ptr)) { | 116 | if (n_ptr && tipc_node_has_active_links(n_ptr)) { |
117 | buf_copy = skb_copy(buf, GFP_ATOMIC); | 117 | buf_copy = skb_copy(buf, GFP_ATOMIC); |
118 | if (!buf_copy) | 118 | if (!buf_copy) |