diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2015-07-16 22:54:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-21 05:41:14 +0200 |
commit | 9d13ec65ede775f896c3da1cfa35283afe2f796c (patch) | |
tree | 34ac0c21607481a2377b3201c3fe58c3f6ac7947 /net/tipc/name_distr.c | |
parent | net: remove skb_frag_add_head (diff) | |
download | linux-9d13ec65ede775f896c3da1cfa35283afe2f796c.tar.xz linux-9d13ec65ede775f896c3da1cfa35283afe2f796c.zip |
tipc: introduce link entry structure to struct tipc_node
struct 'tipc_node' currently contains two arrays for link attributes,
one for the link pointers, and one for the usable link MTUs.
We now group those into a new struct 'tipc_link_entry', and intoduce
one single array consisting of such enties. Apart from being a cosmetic
improvement, this is a starting point for the strict master-slave
relation between node and link that we will introduce in the following
commits.
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/name_distr.c')
-rw-r--r-- | net/tipc/name_distr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/name_distr.c b/net/tipc/name_distr.c index 41e7b7e4dda0..3a1539e96294 100644 --- a/net/tipc/name_distr.c +++ b/net/tipc/name_distr.c @@ -96,7 +96,7 @@ void named_cluster_distribute(struct net *net, struct sk_buff *skb) dnode = node->addr; if (in_own_node(net, dnode)) continue; - if (!tipc_node_active_links(node)) + if (!tipc_node_is_up(node)) continue; oskb = pskb_copy(skb, GFP_ATOMIC); if (!oskb) |