tipc: slim down name table
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 1 replyIn review
- v14 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | tipc: replace name table service range array with rb treenet/ net/ net/ +3 more | +477 | 0 replies | |
| 2/5 | tipc: refactor name table translate functionnet/ | +25 | 0 replies | |
| 3/5 | tipc: permit overlapping service ranges in name tablenet/ net/ net/ +4 more | +60 | 0 replies | |
| 4/5 | tipc: tipc: rename address types in user apiinclude/ | +33 | 0 replies | |
| 5/5 | tipc: avoid possible string overflowinclude/ net/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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