]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85a67475b5d1c994a270e956e2ab6c3ddc8f0923
tree23ba2353dfc0edd55b5d640bc3d68595f5abac61
parent12cfd34b7854a08bc0881fc215d8a4ed07ddb462
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