aboutsummaryrefslogtreecommitdiff
path: root/net/sctp
diff options
context:
space:
mode:
authorHoang Le2021-05-10 09:57:38 +0700
committerDavid S. Miller2021-05-10 14:41:30 -0700
commit3058e01d31bbdbe50e02cafece2b22817a6a0eae (patch)
treec97a2482f8307146fdfe06a831094a0212d3d70b /net/sctp
parentb94cbc909f1d80378a1f541968309e5c1178c98b (diff)
tipc: make node link identity publish thread safe
The using of the node address and node link identity are not thread safe, meaning that two publications may be published the same values, as result one of them will get failure because of already existing in the name table. To avoid this we have to use the node address and node link identity values from inside the node item's write lock protection. Fixes: 50a3499ab853 ("tipc: simplify signature of tipc_namtbl_publish()") Acked-by: Jon Maloy <jmaloy@redhat.com> Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions