diff options
Diffstat (limited to 'net/tipc/monitor.c')
-rw-r--r-- | net/tipc/monitor.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/tipc/monitor.c b/net/tipc/monitor.c index 3892d05b8b45..3579126e2ac8 100644 --- a/net/tipc/monitor.c +++ b/net/tipc/monitor.c | |||
@@ -661,3 +661,10 @@ int tipc_nl_monitor_set_threshold(struct net *net, u32 cluster_size) | |||
661 | 661 | ||
662 | return 0; | 662 | return 0; |
663 | } | 663 | } |
664 | |||
665 | int tipc_nl_monitor_get_threshold(struct net *net) | ||
666 | { | ||
667 | struct tipc_net *tn = tipc_net(net); | ||
668 | |||
669 | return tn->mon_threshold; | ||
670 | } | ||