We clean up and improve the binding table in varous ways: - Rename files, structures and functions according to a consistent scheme - Replace the memory consuming 'sub_sequence/service range' array with an RB tree. - Introduce support for overlapping service sequences/ranges
Jon Maloy (6): tipc: rename name table structs and functions tipc: rename address types in user api tipc: replace service range array with rb tree tipc: refactor binding table translate function tipc: permit overlapping service ranges in binding table tipc: step tipc module version include/uapi/linux/tipc.h | 20 +- net/tipc/Makefile | 2 +- net/tipc/bcast.c | 2 +- net/tipc/binding_distr.c | 335 +++++++++++++ net/tipc/binding_distr.h | 78 +++ net/tipc/binding_table.c | 1043 ++++++++++++++++++++++++++++++++++++++++ net/tipc/binding_table.h | 150 ++++++ net/tipc/core.c | 8 +- net/tipc/core.h | 14 +- net/tipc/group.c | 2 +- net/tipc/link.c | 4 +- net/tipc/msg.c | 4 +- net/tipc/name_distr.c | 393 --------------- net/tipc/name_distr.h | 78 --- net/tipc/name_table.c | 1153 --------------------------------------------- net/tipc/name_table.h | 152 ------ net/tipc/net.c | 10 +- net/tipc/netlink.c | 4 +- net/tipc/netlink_compat.c | 4 +- net/tipc/node.c | 13 +- net/tipc/socket.c | 61 ++- net/tipc/subscr.c | 6 +- net/tipc/subscr.h | 4 +- net/tipc/sysctl.c | 6 +- 24 files changed, 1689 insertions(+), 1857 deletions(-) create mode 100644 net/tipc/binding_distr.c create mode 100644 net/tipc/binding_distr.h create mode 100644 net/tipc/binding_table.c create mode 100644 net/tipc/binding_table.h delete mode 100644 net/tipc/name_distr.c delete mode 100644 net/tipc/name_distr.h delete mode 100644 net/tipc/name_table.c delete mode 100644 net/tipc/name_table.h -- 2.1.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ tipc-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tipc-discussion
