diff options
Diffstat (limited to 'net/tipc/netlink_compat.c')
-rw-r--r-- | net/tipc/netlink_compat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/tipc/netlink_compat.c b/net/tipc/netlink_compat.c index 1eadc95e1132..2c016fdefe97 100644 --- a/net/tipc/netlink_compat.c +++ b/net/tipc/netlink_compat.c | |||
@@ -1023,25 +1023,25 @@ static int tipc_nl_compat_handle(struct tipc_nl_compat_msg *msg) | |||
1023 | msg->req_type = TIPC_TLV_LINK_NAME; | 1023 | msg->req_type = TIPC_TLV_LINK_NAME; |
1024 | msg->rep_size = ULTRA_STRING_MAX_LEN; | 1024 | msg->rep_size = ULTRA_STRING_MAX_LEN; |
1025 | msg->rep_type = TIPC_TLV_ULTRA_STRING; | 1025 | msg->rep_type = TIPC_TLV_ULTRA_STRING; |
1026 | dump.dumpit = tipc_nl_link_dump; | 1026 | dump.dumpit = tipc_nl_node_dump_link; |
1027 | dump.format = tipc_nl_compat_link_stat_dump; | 1027 | dump.format = tipc_nl_compat_link_stat_dump; |
1028 | return tipc_nl_compat_dumpit(&dump, msg); | 1028 | return tipc_nl_compat_dumpit(&dump, msg); |
1029 | case TIPC_CMD_GET_LINKS: | 1029 | case TIPC_CMD_GET_LINKS: |
1030 | msg->req_type = TIPC_TLV_NET_ADDR; | 1030 | msg->req_type = TIPC_TLV_NET_ADDR; |
1031 | msg->rep_size = ULTRA_STRING_MAX_LEN; | 1031 | msg->rep_size = ULTRA_STRING_MAX_LEN; |
1032 | dump.dumpit = tipc_nl_link_dump; | 1032 | dump.dumpit = tipc_nl_node_dump_link; |
1033 | dump.format = tipc_nl_compat_link_dump; | 1033 | dump.format = tipc_nl_compat_link_dump; |
1034 | return tipc_nl_compat_dumpit(&dump, msg); | 1034 | return tipc_nl_compat_dumpit(&dump, msg); |
1035 | case TIPC_CMD_SET_LINK_TOL: | 1035 | case TIPC_CMD_SET_LINK_TOL: |
1036 | case TIPC_CMD_SET_LINK_PRI: | 1036 | case TIPC_CMD_SET_LINK_PRI: |
1037 | case TIPC_CMD_SET_LINK_WINDOW: | 1037 | case TIPC_CMD_SET_LINK_WINDOW: |
1038 | msg->req_type = TIPC_TLV_LINK_CONFIG; | 1038 | msg->req_type = TIPC_TLV_LINK_CONFIG; |
1039 | doit.doit = tipc_nl_link_set; | 1039 | doit.doit = tipc_nl_node_set_link; |
1040 | doit.transcode = tipc_nl_compat_link_set; | 1040 | doit.transcode = tipc_nl_compat_link_set; |
1041 | return tipc_nl_compat_doit(&doit, msg); | 1041 | return tipc_nl_compat_doit(&doit, msg); |
1042 | case TIPC_CMD_RESET_LINK_STATS: | 1042 | case TIPC_CMD_RESET_LINK_STATS: |
1043 | msg->req_type = TIPC_TLV_LINK_NAME; | 1043 | msg->req_type = TIPC_TLV_LINK_NAME; |
1044 | doit.doit = tipc_nl_link_reset_stats; | 1044 | doit.doit = tipc_nl_node_reset_link_stats; |
1045 | doit.transcode = tipc_nl_compat_link_reset_stats; | 1045 | doit.transcode = tipc_nl_compat_link_reset_stats; |
1046 | return tipc_nl_compat_doit(&doit, msg); | 1046 | return tipc_nl_compat_doit(&doit, msg); |
1047 | case TIPC_CMD_SHOW_NAME_TABLE: | 1047 | case TIPC_CMD_SHOW_NAME_TABLE: |