Skip to content

tipc: slim down name table

Jon Maloy netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v14 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tipc: replace name table service range array with rb treenet/tipc/core.h net/tipc/link.c net/tipc/name_table.c +3 more+477 -5680 replies
2/5tipc: refactor name table translate functionnet/tipc/name_table.c+25 -360 replies
3/5tipc: permit overlapping service ranges in name tablenet/tipc/name_distr.c net/tipc/name_distr.h net/tipc/name_table.c +4 more+60 -1110 replies
4/5tipc: tipc: rename address types in user apiinclude/uapi/linux/tipc.h+33 -240 replies
5/5tipc: avoid possible string overflowinclude/uapi/linux/tipc.h net/tipc/link.c+3 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [net-next v2 0/5] tipc: slim down name table

We clean up and improve the name binding table:

- Replace the memory consuming 'sub_sequence/service range' array with an RB tree.
- Introduce support for overlapping service sequences/ranges

v2: #1: Fixed a missing initialization reported by David Miller
#4: Obsoleted and replaced a few more macros to get a consistent
terminology in the API.
#5: Added new commit to fix a potential string overflow bug (it
is still only in net-next) reported by Arnd Bergmann

Jon Maloy (5):
tipc: replace name table service range array with rb tree
tipc: refactor name table translate function
tipc: permit overlapping service ranges in name table
tipc: tipc: rename address types in user api
tipc: avoid possible string overflow

 include/uapi/linux/tipc.h |   59 +--
 net/tipc/core.h           |    1 +
 net/tipc/link.c           |    5 +-
 net/tipc/name_distr.c     |   90 +---
 net/tipc/name_distr.h     |    1 -
 net/tipc/name_table.c     | 1075 ++++++++++++++++++++-------------------------
 net/tipc/name_table.h     |   10 +-
 net/tipc/net.c            |    2 +-
 net/tipc/node.c           |    4 +-
 net/tipc/socket.c         |    4 +-
 net/tipc/subscr.h         |    4 +-
 11 files changed, 556 insertions(+), 699 deletions(-)
Signature · 1 line
2.1.4