tipc: introduce flow control for group broadcast messages
authorJon Maloy <jon.maloy@ericsson.com>
Fri, 13 Oct 2017 09:04:26 +0000 (11:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2017 15:46:00 +0000 (08:46 -0700)
commitb7d42635517fde2b095deddd0fba37be2302a285
tree531940dc481a0e08ca7a2bbd0a328452344b82e1
parentae236fb208a6fbbd2e7a6913385e8fb78ac807f8
tipc: introduce flow control for group broadcast messages

We introduce an end-to-end flow control mechanism for group broadcast
messages. This ensures that no messages are ever lost because of
destination receive buffer overflow, with minimal impact on performance.
For now, the algorithm is based on the assumption that there is only one
active transmitter at any moment in time.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/group.c
net/tipc/group.h
net/tipc/msg.h
net/tipc/socket.c