diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2012-04-18 09:12:09 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-04-19 15:46:46 -0400 |
commit | 974a5a864bf959b7f3412a31ee8ce001c6628451 (patch) | |
tree | 5f5c99f05f5dda3b6d4c384c1420700ab7d580ff /net/tipc/port.c | |
parent | f0712e86b75f4839773abbc01d5baa7e36e378c2 (diff) | |
download | op-kernel-dev-974a5a864bf959b7f3412a31ee8ce001c6628451.zip op-kernel-dev-974a5a864bf959b7f3412a31ee8ce001c6628451.tar.gz |
tipc: take lock while updating node network address
The routine that changes the node's network address now takes TIPC's
network lock in write mode while the main address variable and associated
data structures are being changed; this is needed to ensure that the
link subsystem won't attempt to send a message off-node until the sending
port's message header template has been updated with the node's new
network address.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/port.c')
0 files changed, 0 insertions, 0 deletions