diff options
| author | Jon Maloy <[email protected]> | 2018-07-06 20:10:03 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-07 19:49:01 +0900 |
| commit | 2a57f182420174c7fd4b19db979a2d135231a963 (patch) | |
| tree | 2995b49645166b4f744bfc775079b00b6f6fdf78 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 0f62aeec0f05e579ea9fd5c09edda48bd8bed73a (diff) | |
tipc: fix wrong return value from function tipc_node_try_addr()
The function for checking if there is an node address conflict is
supposed to return a suggestion for a new address if it finds a
conflict, and zero otherwise. But in case the peer being checked
is previously unknown it does instead return a "suggestion" for
the checked address itself. This results in a DSC_TRIAL_FAIL_MSG
being sent unecessarily to the peer, and sometimes makes the trial
period starting over again.
Fixes: 25b0b9c4e835 ("tipc: handle collisions of 32-bit node address hash values")
Signed-off-by: Jon Maloy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions