summaryrefslogtreecommitdiffstats
path: root/net/smc/smc_netlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/smc/smc_netlink.c')
-rw-r--r--net/smc/smc_netlink.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/smc/smc_netlink.c b/net/smc/smc_netlink.c
index 4f964d03b372..ce06d269a54b 100644
--- a/net/smc/smc_netlink.c
+++ b/net/smc/smc_netlink.c
@@ -23,6 +23,11 @@
/* SMC_GENL generic netlink operation definition */
static const struct genl_ops smc_gen_nl_ops[] = {
+ {
+ .cmd = SMC_NETLINK_GET_SYS_INFO,
+ /* can be retrieved by unprivileged users */
+ .dumpit = smc_nl_get_sys_info,
+ },
};
static const struct nla_policy smc_gen_nl_policy[2] = {