diff options
| author | Richard Alpe <[email protected]> | 2015-02-09 08:50:11 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-02-09 21:20:48 +0000 |
| commit | 487d2a3a1326d339ce273ffbcd03247f2b7b052e (patch) | |
| tree | 6ffa649e50216a6a894cf4fe0143b587ee2e190d /net/tipc/config.c | |
| parent | tipc: convert legacy nl name table dump to nl compat (diff) | |
| download | kernel-487d2a3a1326d339ce273ffbcd03247f2b7b052e.tar.gz kernel-487d2a3a1326d339ce273ffbcd03247f2b7b052e.zip | |
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 <[email protected]>
Reviewed-by: Erik Hugne <[email protected]>
Reviewed-by: Ying Xue <[email protected]>
Reviewed-by: Jon Maloy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
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 7b053fcc4b87..6e4c215879c8 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; |
