]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: update replicast capability for broadcast send link
authorHoang Le <hoang.h.le@dektech.com.au>
Thu, 21 Nov 2019 03:01:09 +0000 (10:01 +0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Nov 2019 17:29:50 +0000 (09:29 -0800)
commitf160e55654acbc858bde3be4ae336feede4ea173
tree67d0b9889befad89618f6e4aa0beca045992332c
parent1591d3a7aae0290c002e43a4bf30d7517ded6ed7
tipc: update replicast capability for broadcast send link

When setting up a cluster with non-replicast/replicast capability
supported. This capability will be disabled for broadcast send link
in order to be backwards compatible.

However, when these non-support nodes left and be removed out the cluster.
We don't update this capability on broadcast send link. Then, some of
features that based on this capability will also disabling as unexpected.

In this commit, we make sure the broadcast send link capabilities will
be re-calculated as soon as a node removed/rejoined a cluster.

Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bcast.c
net/tipc/bcast.h
net/tipc/link.c
net/tipc/node.c