diff options
author | Richard Alpe <richard.alpe@ericsson.com> | 2015-02-09 03:50:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-09 16:20:48 -0500 |
commit | 357ebdbfca0baa9a8d8d85307393e9ec3406affc (patch) | |
tree | e12b5c96459aad150b2e66a417634d39be0a14cd /net/tipc/node.h | |
parent | f2b3b2d4ccbf9666f5f42a21347cd1aaa532b2fa (diff) |
tipc: convert legacy nl link dump to nl compat
Convert TIPC_CMD_GET_LINKS to compat dumpit and remove global link
counter solely used by the legacy API.
Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.h')
-rw-r--r-- | net/tipc/node.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/node.h b/net/tipc/node.h index 20ec13f9bede..59dafee61aa0 100644 --- a/net/tipc/node.h +++ b/net/tipc/node.h | |||
@@ -142,8 +142,6 @@ void tipc_node_link_down(struct tipc_node *n_ptr, struct tipc_link *l_ptr); | |||
142 | void tipc_node_link_up(struct tipc_node *n_ptr, struct tipc_link *l_ptr); | 142 | void tipc_node_link_up(struct tipc_node *n_ptr, struct tipc_link *l_ptr); |
143 | int tipc_node_active_links(struct tipc_node *n_ptr); | 143 | int tipc_node_active_links(struct tipc_node *n_ptr); |
144 | int tipc_node_is_up(struct tipc_node *n_ptr); | 144 | int tipc_node_is_up(struct tipc_node *n_ptr); |
145 | struct sk_buff *tipc_node_get_links(struct net *net, const void *req_tlv_area, | ||
146 | int req_tlv_space); | ||
147 | struct sk_buff *tipc_node_get_nodes(struct net *net, const void *req_tlv_area, | 145 | struct sk_buff *tipc_node_get_nodes(struct net *net, const void *req_tlv_area, |
148 | int req_tlv_space); | 146 | int req_tlv_space); |
149 | int tipc_node_get_linkname(struct net *net, u32 bearer_id, u32 node, | 147 | int tipc_node_get_linkname(struct net *net, u32 bearer_id, u32 node, |