diff options
author | Richard Alpe <richard.alpe@ericsson.com> | 2015-02-09 08:50:11 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-09 21:20:48 (GMT) |
commit | 487d2a3a1326d339ce273ffbcd03247f2b7b052e (patch) | |
tree | 6ffa649e50216a6a894cf4fe0143b587ee2e190d /net/tipc/config.c | |
parent | 44a8ae94fd5525aa06a8c71cb52efbc418fb8b7c (diff) | |
download | linux-487d2a3a1326d339ce273ffbcd03247f2b7b052e.tar.xz |
tipc: convert legacy nl socket dump to nl compat
Convert socket (port) listing to compat dumpit call. If a socket
(port) has publications a second dumpit call is issued to collect them
and format then into the legacy buffer before continuing to process
the sockets (ports).
Command converted in this patch:
TIPC_CMD_SHOW_PORTS
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/config.c')
-rw-r--r-- | net/tipc/config.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/tipc/config.c b/net/tipc/config.c index 7b053fc..6e4c215 100644 --- a/net/tipc/config.c +++ b/net/tipc/config.c @@ -212,9 +212,6 @@ struct sk_buff *tipc_cfg_do_cmd(struct net *net, u32 orig_node, u16 cmd, case TIPC_CMD_GET_MEDIA_NAMES: rep_tlv_buf = tipc_media_get_names(); break; - case TIPC_CMD_SHOW_PORTS: - rep_tlv_buf = tipc_sk_socks_show(net); - break; case TIPC_CMD_SHOW_STATS: rep_tlv_buf = tipc_show_stats(); break; |