tipc: convert legacy nl node dump to nl compat
Convert TIPC_CMD_GET_NODES to compat dumpit and remove global node 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>
This commit is contained in:

committed by
David S. Miller

parent
5bfc335a63
commit
4b28cb581d
@@ -142,8 +142,6 @@ void tipc_node_link_down(struct tipc_node *n_ptr, struct tipc_link *l_ptr);
|
||||
void tipc_node_link_up(struct tipc_node *n_ptr, struct tipc_link *l_ptr);
|
||||
int tipc_node_active_links(struct tipc_node *n_ptr);
|
||||
int tipc_node_is_up(struct tipc_node *n_ptr);
|
||||
struct sk_buff *tipc_node_get_nodes(struct net *net, const void *req_tlv_area,
|
||||
int req_tlv_space);
|
||||
int tipc_node_get_linkname(struct net *net, u32 bearer_id, u32 node,
|
||||
char *linkname, size_t len);
|
||||
void tipc_node_unlock(struct tipc_node *node);
|
||||
|
Reference in New Issue
Block a user