tipc: narrow down exposure of struct tipc_node
[cascardo/linux.git] / net / tipc / netlink.c
index 7f6475e..29dfcc9 100644 (file)
@@ -101,18 +101,18 @@ static const struct genl_ops tipc_genl_v2_ops[] = {
        },
        {
                .cmd    = TIPC_NL_LINK_GET,
-               .doit   = tipc_nl_link_get,
+               .doit   = tipc_nl_node_get_link,
                .dumpit = tipc_nl_link_dump,
                .policy = tipc_nl_policy,
        },
        {
                .cmd    = TIPC_NL_LINK_SET,
-               .doit   = tipc_nl_link_set,
+               .doit   = tipc_nl_node_set_link,
                .policy = tipc_nl_policy,
        },
        {
                .cmd    = TIPC_NL_LINK_RESET_STATS,
-               .doit   = tipc_nl_link_reset_stats,
+               .doit   = tipc_nl_node_reset_link_stats,
                .policy = tipc_nl_policy,
        },
        {