Skip to content

tipc: publication lists and zero node handling

Paul Gortmaker netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16tipc: introduce publication lists structnet/tipc/name_distr.c+17 -100 replies
2/16tipc: Factor out name publication code to a separate functionnet/tipc/name_distr.c+34 -270 replies
3/16tipc: Separate cluster-scope and zone-scope names into distinct listsnet/tipc/name_distr.c+26 -50 replies
4/16tipc: Update node-scope publications when network address is assignednet/tipc/name_distr.c net/tipc/name_table.c+12 -70 replies
5/16tipc: Don't record failed publication attempt as a successnet/tipc/name_table.c+3 -20 replies
6/16tipc: Add routines for safe checking of node's network addressnet/tipc/addr.h net/tipc/bearer.c net/tipc/name_table.c +1 more+24 -60 replies
7/16tipc: Ensure network address change doesn't impact name table updatesnet/tipc/name_table.c+4 -40 replies
8/16tipc: Optimize re-initialization of port message header templatesnet/tipc/port.c+0 -20 replies
9/16tipc: Ensure network address change doesn't impact new portnet/tipc/port.c+11 -40 replies
10/16tipc: delete duplicate peerport/peernode helper functionsnet/tipc/port.c net/tipc/port.h+4 -140 replies
11/16tipc: Ensure network address change doesn't impact local connectionsnet/tipc/node_subscr.c net/tipc/port.c net/tipc/port.h +1 more+34 -310 replies
12/16tipc: take lock while updating node network addressnet/tipc/net.c+2 -10 replies
13/16tipc: properly handle off-node send requests with invalid addrnet/tipc/port.c+9 -20 replies
14/16tipc: handle <0.0.0> as an alias for this node on outgoing msgsnet/tipc/port.c+4 -40 replies
15/16tipc: Ensure network address change doesn't impact rejected messagenet/tipc/port.c+1 -10 replies
16/16tipc: Ensure network address change doesn't impact configuration servicenet/tipc/config.c+1 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next 00/16] tipc: publication lists and zero node handling

Hi Dave,

This series of commits largely focuses on two things. The 1st is to categorize the TIPC publication lists, so better control over the publications can be achieved. The 2nd is largely to improve corner cases around the tipc address changes and how the <0.0.0> tipc address is interpreted.

What remains after this, is less than 10 commits originating from what was salvaged from the tipc-1.7 sourceforge fork, so I'm happy to see the end of this task so close. I'll be looking at those shortly.

The tipc tests (tipcTS <--> tipcTC) have been used in both directions between a 32bit and a 64bit machine to do runtime testing, and the entire series has been confirmed to be compile time bisectable too.

Credit to Al for all the heavy lifting. I've just refactored things a bit and made minor changes here and there.

Thanks,
Paul
---

The following changes since commit 798ec84d45754403571d6387396236e877965c5a:

net/core:Remove memleak reports by kmemleak_not_leak. (2012-04-18 00:20:28 -0400)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux.git tipc_net-next

for you to fetch changes up to 9d52ce4bd3fa9e0cf1658791f2c680e20e0598a1:

tipc: Ensure network address change doesn't impact configuration service (2012-04-19 15:46:50 -0400)

----------------------------------------------------------------

Allan Stephens (16):
tipc: introduce publication lists struct
tipc: Factor out name publication code to a separate function
tipc: Separate cluster-scope and zone-scope names into distinct lists
tipc: Update node-scope publications when network address is assigned
tipc: Don't record failed publication attempt as a success
tipc: Add routines for safe checking of node's network address
tipc: Ensure network address change doesn't impact name table updates
tipc: Optimize re-initialization of port message header templates
tipc: Ensure network address change doesn't impact new port
tipc: delete duplicate peerport/peernode helper functions
tipc: Ensure network address change doesn't impact local connections
tipc: take lock while updating node network address
tipc: properly handle off-node send requests with invalid addr
tipc: handle <0.0.0> as an alias for this node on outgoing msgs
tipc: Ensure network address change doesn't impact rejected message
tipc: Ensure network address change doesn't impact configuration
service

 net/tipc/addr.h        |   20 +++++++-
 net/tipc/bearer.c      |    2 +-
 net/tipc/config.c      |    2 +-
 net/tipc/name_distr.c  |  119 ++++++++++++++++++++++++++++++++----------------
 net/tipc/name_table.c  |   14 +++---
 net/tipc/net.c         |    3 +-
 net/tipc/node.c        |    2 +-
 net/tipc/node_subscr.c |    2 +-
 net/tipc/port.c        |  101 ++++++++++++++++++++++------------------
 net/tipc/port.h        |   11 +----
 net/tipc/socket.c      |    3 +-
 11 files changed, 172 insertions(+), 107 deletions(-)
Signature · 1 line
1.7.9.3