summaryrefslogtreecommitdiff
path: root/net/tipc/discover.c
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2011-02-28 23:30:20 +0300
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-03-13 23:35:18 +0300
commit75f0aa49908992dbeb75710b72cbedb5cff9680f (patch)
tree993ef6601c10793db29538c681fccd86aa08172d /net/tipc/discover.c
parent77f167fcce4d2ea144d92891d1e0fc0c50554082 (diff)
downloadlinux-75f0aa49908992dbeb75710b72cbedb5cff9680f.tar.xz
tipc: Fix redundant link field handling in link protocol message
Ensures that the "redundant link exists" field of the LINK_PROTOCOL messages sent by a link endpoint is set if and only if the sending node has at least one other working link to the peer node. Previously, the bit was set only if there were at least 2 working links to the peer node, meaning the bit was incorrectly left unset in messages sent by a non-working link endpoint when exactly one alternate working link was available. The revised code now takes the state of the link sending the message into account when deciding if an alternate link exists. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/discover.c')
0 files changed, 0 insertions, 0 deletions