aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/netlink.c
diff options
context:
space:
mode:
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>2016-07-26 08:47:20 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-26 14:26:42 -0700
commitbf1035b2ff5296c7c49e262152253ce29d87e82d (patch)
treeab4aba8cf6b93c1787d60c077ff1fe9f95955509 /net/tipc/netlink.c
parenttipc: make cluster size threshold for monitoring configurable (diff)
downloadlinux-dev-bf1035b2ff5296c7c49e262152253ce29d87e82d.tar.xz
linux-dev-bf1035b2ff5296c7c49e262152253ce29d87e82d.zip
tipc: get monitor threshold for the cluster
In this commit, we add support to fetch the configured cluster monitoring threshold. Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/netlink.c')
-rw-r--r--net/tipc/netlink.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/tipc/netlink.c b/net/tipc/netlink.c
index 1e43ac0200ed..2cfc5f7c6380 100644
--- a/net/tipc/netlink.c
+++ b/net/tipc/netlink.c
@@ -226,6 +226,11 @@ static const struct genl_ops tipc_genl_v2_ops[] = {
.doit = tipc_nl_node_set_monitor,
.policy = tipc_nl_policy,
},
+ {
+ .cmd = TIPC_NL_MON_GET,
+ .doit = tipc_nl_node_get_monitor,
+ .policy = tipc_nl_policy,
+ },
};
int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***attr)