tipc: optimize link synching mechanism
authorTuong Lien <tuong.t.lien@dektech.com.au>
Wed, 24 Jul 2019 01:56:11 +0000 (08:56 +0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jul 2019 22:55:47 +0000 (15:55 -0700)
commit4929a932be334d68d333089872bc67e4f1d97475
tree23ba2353dfc0edd55b5d640bc3d68595f5abac61
parent37f7c66f4560b154cfa7a8d8f1902e222e38adba
tipc: optimize link synching mechanism

This commit along with the next one are to resolve the issues with the
link changeover mechanism. See that commit for details.

Basically, for the link synching, from now on, we will send only one
single ("dummy") SYNCH message to peer. The SYNCH message does not
contain any data, just a header conveying the synch point to the peer.

A new node capability flag ("TIPC_TUNNEL_ENHANCED") is introduced for
backward compatible!

Acked-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Suggested-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Tuong Lien <tuong.t.lien@dektech.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c
net/tipc/msg.h
net/tipc/node.c
net/tipc/node.h