diff options
author | Richard Alpe <richard.alpe@ericsson.com> | 2015-02-09 03:50:06 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-09 16:20:47 -0500 |
commit | f2b3b2d4ccbf9666f5f42a21347cd1aaa532b2fa (patch) | |
tree | 36a8eea16c58cd54f91ced3862da77803b223dcf /net/tipc/link.h | |
parent | 9ab154658a7ff2c5076607e02f18581c6859fc2a (diff) |
tipc: convert legacy nl link stat to nl compat
Add functionality for safely appending string data to a TLV without
keeping write count in the caller.
Convert TIPC_CMD_SHOW_LINK_STATS to compat dumpit.
Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/link.h')
-rw-r--r-- | net/tipc/link.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/tipc/link.h b/net/tipc/link.h index 34d3f55c4cea..8c8340cf991f 100644 --- a/net/tipc/link.h +++ b/net/tipc/link.h | |||
@@ -217,9 +217,6 @@ int tipc_link_is_active(struct tipc_link *l_ptr); | |||
217 | void tipc_link_purge_queues(struct tipc_link *l_ptr); | 217 | void tipc_link_purge_queues(struct tipc_link *l_ptr); |
218 | struct sk_buff *tipc_link_cmd_config(struct net *net, const void *req_tlv_area, | 218 | struct sk_buff *tipc_link_cmd_config(struct net *net, const void *req_tlv_area, |
219 | int req_tlv_space, u16 cmd); | 219 | int req_tlv_space, u16 cmd); |
220 | struct sk_buff *tipc_link_cmd_show_stats(struct net *net, | ||
221 | const void *req_tlv_area, | ||
222 | int req_tlv_space); | ||
223 | struct sk_buff *tipc_link_cmd_reset_stats(struct net *net, | 220 | struct sk_buff *tipc_link_cmd_reset_stats(struct net *net, |
224 | const void *req_tlv_area, | 221 | const void *req_tlv_area, |
225 | int req_tlv_space); | 222 | int req_tlv_space); |