summaryrefslogtreecommitdiffstats
path: root/Documentation/mtd
diff options
context:
space:
mode:
authorJon Maloy <jon.maloy@ericsson.com>2018-07-06 20:10:05 +0200
committerDavid S. Miller <davem@davemloft.net>2018-07-07 12:49:01 +0200
commit92018c7ca959ccd346d6235dac03cf7fc1ba51f7 (patch)
tree7d9db104a800f18ab9306c4064311953d32df15b /Documentation/mtd
parenttipc: correct discovery message handling during address trial period (diff)
downloadlinux-92018c7ca959ccd346d6235dac03cf7fc1ba51f7.tar.xz
linux-92018c7ca959ccd346d6235dac03cf7fc1ba51f7.zip
tipc: fix correct setting of message type in second discoverer
The duplicate address discovery protocol is not safe against two discoverers running in parallel. The one executing first after the trial period is over will set the node address and change its own message type to DSC_REQ_MSG. The one executing last may find that the node address is already set, and never change message type, with the result that its links may never be established. In this commmit we ensure that the message type always is set correctly after the trial period is over. 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 'Documentation/mtd')
0 files changed, 0 insertions, 0 deletions