linux/net/tipc
Allan Stephens f0712e86b7 tipc: Ensure network address change doesn't impact local connections
Revises routines that deal with connections between two ports on
the same node to ensure the connection is not impacted if the node's
network address is changed in mid-operation. The routines now treat
the default node address of <0.0.0> as an alias for "this node" in
the following situations:

1) Incoming messages destined to a connected port now handle the alias
properly when validating that the message was sent by the expected
peer port, ensuring that the message will be accepted regardless of
whether it specifies the node's old network address or it's current one.

2) The code which completes connection establishment now handles the
alias properly when determining if the peer port is on the same node
as the connected port.

An added benefit of addressing issue 1) is that some peer port
validation code has been relocated to TIPC's socket subsystem, which
means that validation is no longer done twice when a message is
sent to a non-socket port (such as TIPC's configuration service or
network topology service).

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2012-04-19 15:46:45 -04:00
..
addr.c
addr.h tipc: Add routines for safe checking of node's network address 2012-04-19 15:46:39 -04:00
bcast.c
bcast.h
bearer.c tipc: Add routines for safe checking of node's network address 2012-04-19 15:46:39 -04:00
bearer.h
config.c
config.h
core.c
core.h
discover.c
discover.h
eth_media.c
handler.c
Kconfig
link.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
link.h
log.c
log.h
Makefile
msg.c
msg.h
name_distr.c tipc: Update node-scope publications when network address is assigned 2012-04-19 15:46:36 -04:00
name_distr.h
name_table.c tipc: Ensure network address change doesn't impact name table updates 2012-04-19 15:46:40 -04:00
name_table.h
net.c
net.h
netlink.c
node_subscr.c tipc: Ensure network address change doesn't impact local connections 2012-04-19 15:46:45 -04:00
node_subscr.h
node.c tipc: Add routines for safe checking of node's network address 2012-04-19 15:46:39 -04:00
node.h
port.c tipc: Ensure network address change doesn't impact local connections 2012-04-19 15:46:45 -04:00
port.h tipc: Ensure network address change doesn't impact local connections 2012-04-19 15:46:45 -04:00
ref.c
ref.h
socket.c tipc: Ensure network address change doesn't impact local connections 2012-04-19 15:46:45 -04:00
subscr.c
subscr.h