tipc: add bearer get/dump to new netlink api
[firefly-linux-kernel-4.4.55.git] / net / tipc / netlink.c
index af506ae0a1295b60788738f90e25a430c66697a9..0c00422512fa0c31dd724b667e2d2b575ee34881 100644 (file)
@@ -112,6 +112,12 @@ static const struct genl_ops tipc_genl_v2_ops[] = {
                .cmd    = TIPC_NL_BEARER_ENABLE,
                .doit   = tipc_nl_bearer_enable,
                .policy = tipc_nl_policy,
+       },
+       {
+               .cmd    = TIPC_NL_BEARER_GET,
+               .doit   = tipc_nl_bearer_get,
+               .dumpit = tipc_nl_bearer_dump,
+               .policy = tipc_nl_policy,
        }
 };