diff options
| author | Jon Maloy <jon.maloy@ericsson.com> | 2018-07-06 20:10:06 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-07-07 19:49:02 +0900 |
| commit | 9faa89d4ed9d7d326f4763d262842270450f9b1f (patch) | |
| tree | 7d2f742a0a79418fa0b8388e0b4d19847d58298a /tools/perf/scripts/python | |
| parent | tipc: fix correct setting of message type in second discoverer (diff) | |
| download | linux-9faa89d4ed9d7d326f4763d262842270450f9b1f.tar.gz linux-9faa89d4ed9d7d326f4763d262842270450f9b1f.zip | |
tipc: make function tipc_net_finalize() thread safe
The setting of the node address is not thread safe, meaning that
two discoverers may decide to set it simultanously, with a duplicate
entry in the name table as result. We fix that with this commit.
Fixes: 25b0b9c4e835 ("tipc: handle collisions of 32-bit node address hash values")
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
